Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
richard24best
Creator II
Creator II

Show minimum and maximum dimension value in KPI

Hi team,

I have a requirement to show Minimum and maximum value in KPI.

For example :

Dimension is Client Type (A,B, C, D, E)

Measure - sum(Volumes)

Client Type            sum(Volumes)

A                                         20

B                                        60

C                                        10

D                                        80

E                                       120

So the KPI should show Client Type Max - E(120) and Min - C (10). Is it possible?

Appreciate your time and support in advance.

Regards,

Richard

Labels (1)
1 Solution

Accepted Solutions
anat
Master
Master

4 Replies
anat
Master
Master

try using "Firstsortedvalue" function .

FirstSortedValue - chart function ‒ Qlik Sense on Windows

 

richard24best
Creator II
Creator II
Author

Hi Anat,

Thanks for your response.

I did use the below expression to derive Max but not sure what is it to derive minimum value

FirstSortedValue(ClientType, -Aggr(Sum(Volumes), ClientType))

Regards,

Richard

anat
Master
Master

for min value

FirstSortedValue(ClientType, Aggr(Sum(Volumes), ClientType))

GOKULAKANNAN
Creator II
Creator II

But its not working, I'm having more than 1 values which is having minimum values, in this case, how can we acheieve.