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: 
Anonymous
Not applicable

function which returns all values of a particular field

Hi,

I need a function which returns all values of a particular field. Is it possible?

If I use GetFieldSelections it returns only those values that have been selected.

Thank you in advance,

Larisa

1 Solution

Accepted Solutions
swuehl
MVP
MVP

That returns all possible values:

=CONCAT(DISTINCT Field, ', ')

or all values that are in the data model:

=CONCAT({1} DISTINCT Field, ', ')

View solution in original post

2 Replies
marcus_sommer

You could use concat({1} distinct Field, ',').

- Marcus

swuehl
MVP
MVP

That returns all possible values:

=CONCAT(DISTINCT Field, ', ')

or all values that are in the data model:

=CONCAT({1} DISTINCT Field, ', ')