Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
roberto99
Contributor III
Contributor III

Highlight max and min values in pivot table by rows

Hi, i have a pivot table whit 2 dimension (Art and Cod_t) and mesure (Fir), i want to highlight the maximun and minimun value per row.

whit this i can only point to the row point whit de maximun value and minimun value.

iF(AVG(Fir)=RANGEMAX(TOP(TOTAL avg(Fir),1,NOOFROWS(TOTAL))),GREEN()

,IF(AVG(Fir) = RANGEMIN(TOP(TOTAL avg(Fir),1,NOOFROWS(TOTAL))),yellow()))

 

thanks

2 Solutions

Accepted Solutions
sunny_talwar

Try this

for Max

If(Avg(Fir) = Max(TOTAL <Art> Aggr(Avg(Fir), Art, Cod_Tienda)), Green())

for Min

If(Avg(Fir) = Min(TOTAL <Art> Aggr(Avg(Fir), Art, Cod_Tienda)), Yellow())

View solution in original post

roberto99
Contributor III
Contributor III
Author

It works perfect , thanks

View solution in original post

3 Replies
sunny_talwar

Try this

for Max

If(Avg(Fir) = Max(TOTAL <Art> Aggr(Avg(Fir), Art, Cod_Tienda)), Green())

for Min

If(Avg(Fir) = Min(TOTAL <Art> Aggr(Avg(Fir), Art, Cod_Tienda)), Yellow())
roberto99
Contributor III
Contributor III
Author

It works perfect , thanks

tahernia_p
Contributor II
Contributor II

your color expression is amazing 👏 it solved my problem too, Many thanks