Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
TuckerSteven
Contributor
Contributor

Get Min() value by dimension in KPI

Hi, I have some Master Item measurement, witch I use for bar chart and KPI. The measurement is SUM(.....). But this sum could be brake down by dimension machine. This I use in bar chart, where I use machine as dimension and same measurement. My question is, if I want to have another KPI, that portray the Min() value of this measurement by machine. (So the machine with lowest measurement) If I only do min(measurement,..) it will return the same value as previous KPI, because for him it is only one value, so min of one value is the same value. Any suggestions?

1 Reply
lironbaram
Partner - Master III
Partner - Master III

if you want the min value to be displayed use this exprssion
min(aggr(measurement, machine))
if you want to display the machine name use this :
firstsortedvalue (machine, aggr(measurement,machine))