Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all,
I have a straight table
Dimension-Site_Name
Expression-Sum(Sales)
Now here the top 10 stores are appearing using Dimension Limit
I want to use the darkest green for the top store and then the color will be gradually lighter for the lesser value.I have tried to do that using colormix().But it didn't work out.Please help me out.
Mybe you should use aggr on you dimension
=argb(sum(Sales) /
max(TOTAL aggr(sum(Sales), Site_Name))
* 255,0,172,0)
Hi,
Its not possible to dynamically assign the darker and lighter color.
But you can use the Background color option to give a static color for a given range (Which you will have to define)
Regards,
Kaushik Solanki
Hi,
you can use argb where (a) will reflect Your value. Use this in Expression background
argb(Sum(Sales)
/
max(TOTAL (sum(Sales), * 255,0,172,0) )
Mybe you should use aggr on you dimension
=argb(sum(Sales) /
max(TOTAL aggr(sum(Sales), Site_Name))
* 255,0,172,0)
Try background color expression like:
argb(255-rank(Sum(Sales))*20, 50,100,40)
Note: You would have different dimension. And you might want to change the color RGB different.
Hi Debasmita,
try setting the colour to something like:
ARGB(55 +20*(11-Rank(Sum(Sales)) ,0,255,0)
Cheers
Andrew