Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

May i know how make my color display darker color for lowest value ? Now large number color is darker.

Hi All

Below expression work fine , it display the higher value with dark color :-

Colormix1((

$(vPriceBookRatio)

-$(=min(aggr(

$(vPriceBookRatio)

,COMPETITOR_K))))

/

$(=(max(aggr(

$(vPriceBookRatio)

, COMPETITOR_K))

-min(aggr(

$(vPriceBookRatio)

, COMPETITOR_K)))),lightgray(),green())


Now my requirement have change , the smaller value mean better , so How to change the color sequences the other way round ?


Paul

Paul

1 Solution

Accepted Solutions
shraddha_g
Partner - Master III
Partner - Master III

Colormix1((

$(vPriceBookRatio)

-$(=min(aggr(

$(vPriceBookRatio)

,COMPETITOR_K))))

/

$(=(max(aggr(

$(vPriceBookRatio)

, COMPETITOR_K))

-min(aggr(

$(vPriceBookRatio)

, COMPETITOR_K)))),green()),lightgray())

View solution in original post

3 Replies
shraddha_g
Partner - Master III
Partner - Master III

Colormix1((

$(vPriceBookRatio)

-$(=min(aggr(

$(vPriceBookRatio)

,COMPETITOR_K))))

/

$(=(max(aggr(

$(vPriceBookRatio)

, COMPETITOR_K))

-min(aggr(

$(vPriceBookRatio)

, COMPETITOR_K)))),green()),lightgray())

paulyeo11
Master
Master
Author

my QVF

paulyeo11
Master
Master
Author

Wow you are good , with out look at my app , you can directly give me correct answer.