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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic Caption - Active filter based condition


Hello,

I am trying to create a dynamic caption, where I want to put a condition if particular filter is active then return that filter name else some default.

I was able to do it with Month filter but not able to do it for non dates variables.

if(only(month),'Vs.Segment','Vs.Total')

could anyone possibly help?

Thanks,

Varun Singhal

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Use something like below

=IF(GetSelectedCount(Month) > 0,'Vs.Segment','Vs.Total')

View solution in original post

2 Replies
MK_QSL
MVP
MVP

Use something like below

=IF(GetSelectedCount(Month) > 0,'Vs.Segment','Vs.Total')

Not applicable
Author

Thanks Manish, It worked!!

Kind Regards,

Varun Singhal