Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Show the dimension with min value

Hello Guys !

I'm trying to show "Roteiro" with the min value of "TempoParado". What i'm doing is :

FirstSortedValue (Distinct (Roteiro), Aggr( sum(TempoParado), Roteiro))

Is returning me anything. It's not every day that I have data on the "Roteiro", then only if I select all "Roteiro" it shows me the script with less "TempoDeParada". If I dont select nothing, nothing returns to me, but I always want the lowest value.

What is happening then is that he sees all values​​, even when zero, and i need only when have soomething.

How to do it?

Thanks!

0 Replies