Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
francisvandergr
Partner - Creator II
Partner - Creator II

2 visual cues in one dimension within pivot table

I have a dashboard with the values O and the Value L. For those values i have 2 visual cues:

see attached example:

='AVG O in relation to total orders ' & count({1<Status = {O}>}[offerte Nr.]) / Count( {1} Total [offerte Nr.] ) & ' 

if AVG from Status O  in table > then formula above,  Green else Red'

='AVG L in relation to total orders ' & count({1<Status = {L}>}[offerte Nr.]) / Count( {1} Total [offerte Nr.] ) & ' 

if AVG from Status L  in table < then formula above,  Green else Red'

1 Solution

Accepted Solutions
sunny_talwar

Is this what you are looking for?

Capture.PNG

Instead of using visual cues, try using Text Color:

Capture.PNG

View solution in original post

7 Replies
sunny_talwar

Sorry but I don't know what you question is? Is something not working as expected?

francisvandergr
Partner - Creator II
Partner - Creator II
Author

If avg of status O is above 39,8% i wanna have green below  this value it must be red 

If avg of status L is below 26,55% i wanna have green above this value it must be red

39,8 comes  from : count   ({1<Status = {O}>}[offerte Nr.]) / Count( {1} Total [offerte Nr.] )

26,55 comes from : count({1<Status = {L}>}[offerte Nr.]) / Count( {1} Total [offerte Nr.] )

sunny_talwar

Is this what you are looking for?

Capture.PNG

Instead of using visual cues, try using Text Color:

Capture.PNG

francisvandergr
Partner - Creator II
Partner - Creator II
Author

Yes! indeed do you have for me the QVW so i can see what you have done in the text colour formula ?

sunny_talwar

It is attached with my post above.

francisvandergr
Partner - Creator II
Partner - Creator II
Author

Hi sunindia,

Sorry but i downloaded the file and the formula is gone. You have the formula for me ?

Gr

Francis

sunny_talwar

Expression I used is:

If(Status = 'O', If(AVG < Count(TOTAL {1<Status = {'O'}>}[offerte Nr.])/Count( {1} Total [offerte Nr.]), RGB(0,127,0), RGB(255,0,0)),

If(Status = 'L', IF(AVG < Count(TOTAL {1<Status = {'L'}>}[offerte Nr.])/Count( {1} Total [offerte Nr.]), RGB(0,127,0), RGB(255,0,0))))

HTH

Best,

Sunny