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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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

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