Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Srikanth_89
Contributor
Contributor

I Have 20 KPI Names. How can I combine all 20 and assign RAG colors with single expression.

I Have 20 KPI Names . How can I combine all 20 KPI's and assign RAG colors with single expression . I have loaded KPI Names in Pivot table as Dimension.

For example you can take  KPI names as Network, Mobile, Fixed and so on.....

Can someone help?

 

Labels (6)
1 Reply
Gysbert_Wassenaar

Probably with a pick-match combination

pick(match(MyKPIDimension, 'Network', 'Mobile', 'Fixed', ... and so on ....)
, If( sum(Something) < 10, Red(), if(sum(Something) < 20, RGB(255,128,0), Green()))
, If( sum(SomethingElse) < 25, Red(), if(sum(SomethingElse) < 50, RGB(255,128,0), Green()))
, If( sum(SomethingFixed) < 4 , Red(), if(sum(SomethingFixed) < 8, RGB(255,128,0), Green()))
, ... and so on
)


talk is cheap, supply exceeds demand