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: 
krish2459
Creator
Creator

Chart level grouping

Hi,

I'm having the attached data.

I need to show unique Id with minumum distance.

 

Please refer to the "desired out" sheet excatly what I need.

 

Sheet1 having the sample data.

Thanks,

Krish

Labels (1)
1 Solution

Accepted Solutions
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @krish2459 !

         You have to use the FirstSortedValue() function on your "Nearest Locality" column with the expression below:

=FirstSortedValue([Nearest Locality], Distance)

and also change the column "Distance" to measure Min(Distance) 

joaopaulo_delco_0-1616506136483.png

See the app attached.

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

1 Reply
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @krish2459 !

         You have to use the FirstSortedValue() function on your "Nearest Locality" column with the expression below:

=FirstSortedValue([Nearest Locality], Distance)

and also change the column "Distance" to measure Min(Distance) 

joaopaulo_delco_0-1616506136483.png

See the app attached.

Help users find answers! Don't forget to mark a solution that worked for you!