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: 
smilingjohn
Specialist
Specialist

Simple work around

Hi All,

Basically I am trying to show a column in pivot table with color indication as 'G' and 'R' to do so I am using below calculated formula  . and this formula works good for me .

 Aggr(If(PTG=PT,'G','R'),Product)

But I am stuck in including a expression  within the above calculated logic   .   Count({<sev-={'5'}>}ID) 

I  tried below logic but this doesn't work   it is not considering the  the set analysis or may be I am failing somewhere 

Aggr(if(PGT=PT and count({<sev-={'5'}>}ID)>0,'G','R'),Product)

 

Need help in resolving with this 

Thanks in Advance

Labels (4)
1 Reply
smilingjohn
Specialist
Specialist
Author

Hi All,

Any help on my post 

 

Thanks