Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
Last 5 days | Qty |
01/03/2020 | 20 |
02/03/2020 | 40 |
03/03/2020 | 20 |
04/03/2020 | 10 |
05/03/2020 | 25 |
06/03/2020 | 10 |
I want to color the column 1(Qty) based on average of last 5 days.
I.e
Avg is 21
will compare with each column and change the background of color.
Hi,
it is working for me
see below screenshot
Background color expression
=if(Sum(Qty)>Avg(total Qty),Green(),White())
or
=if(Aggr(Sum(Qty),days)>Avg(total Qty),Green(),White())
Hi
try the following steps
1 .write your expression
2. expand expression (click + sign)
3. select background color option
and write below expression
if(qty>=ceil(Avg( TOTAL Qty)),Green(),White())
find below screnshot.
Thanks for your response
I'm asking in Qliksense. The expression is not working
It is possible in Qliksense or not?????
Hi,
as of now it is not possible in qliksense .
but it might be possible using table chart extension
Regards,
Nitin.
sorry my bad
it is possible in qliksense ( november 2019)
see below screenshot , write your expression in background color property
expression like
if ( qty >= ceil ( Avg ( TOTAL Qty) ), Green(), White() )
regards,
Nitin.
We are using Qliksense November 2019 version.
But expression not working.
Kindly share that extension link.
Hi
it is not a extension,
it is a simple straight table chart
expand your expression (Measure) then you will able to see this option
hI
see the below screenshots
Expression -
if(Qty>=Avg(Total Qty),Green(),White())