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

Distinct help

Hi,

I need get some suggestions on the Distinct values for the 2 Fields in the script level.

Attache are the sample apps.

1 Reply
rubenmarin

Hi John, to store in a variable different combined values you can add this script:

Distinct:

NoConcatenate

LOAD distinct Longitude,

     Latitude

Resident AA;

LET vDistinct = NoOfRows('Distinct');

DROP Table Distinct;

For a field you can use:

LET vDistinctLatitute = FieldValueCount('Latitude');