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

Changing Label to follow expression selection

Hi

I am trying the Label to follow my selection which is the $1 selection.

In the Label I have

=if(IsNull(Flag),'All','Selected:'&Flag)

Expression definition is:

Count({$1}Amount)

2 Replies
Not applicable
Author

Not quite clear with your requirement. Try one of the below

='Selected : '&If(GetSelectedCount(Flag),GetFieldSelections(Flag),'All')

Why you are using $1 in expression definition which returns previous selection Amount value when you want to show current selected Flag value in the label.

Regards,

KKR

ecolomer
Master II
Master II

and what is your requirement?