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

ListBox Variables

Hello,

I want to have a listbox in my Variables
.
=CONCAT(DISTINCT  Years,";")

But now only the selected years are shown. I want to show all Years not only the selected ones.

Labels (1)
4 Replies
MK_QSL
MVP
MVP

=CONCAT({1}DISTINCT  Years,';')

maxgro
MVP
MVP

in set analysis (from qlik online help)

1Represents the full set of all the records in the application.
$

Represents the records of the current selection.

The set expression {$} is thus the equivalent of not stating a set expression

=concat(distinct Years, ';')               // only selected

=concat({$} distinct Years, ';')         // only selected

=concat({1} distinct Years, ';')         //  all distinct Years in the application

ashfaq_haseeb
Champion III
Champion III

Hi,

Check this

Regards

ASHFAQ

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

This expression should work

=Concat(distinct YearFieldName,';')

Best Regards,

Gabriel