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

Show listbox fields based on expression in Textbox action issue

Hi, im trying to create a button where all the fields for a specific expression will show on the listbox when i click a textbox with a action.

So one of the expressions i used in the textbox action with Toggle Select:

Field :

LanID

Search String:

='= count(DISTINCT {<Year={"$(vMaxYear)"},date={"<=$(vMaxDate)"},Month=,Day=,YearMonth= >}  LanID)'

and this works.

This is the expression that doesnt work.

='= sum(  {<Year={"$(vMaxYear)"},date={"<=$(vMaxDate)"} ,Month=,Day=,YearMonth= >}

aggr(count(DISTINCT {<Year={"$(vMaxYear)"},date={"<=$(vMaxDate)"} ,Month=,Day=,YearMonth= >}

{<LanID = {"=count(distinct  {<Year={"$(vMaxYear)"},date={"<=$(vMaxDate)"} ,Month=,Day=,YearMonth= >}  DocName)<=2"}>}LanID),LanID))'

How can i solve this ?

Labels (1)
0 Replies