Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
krmvacar
Creator II
Creator II

Qliksense straight table order by measure change

Hi All,

I have a Straight table and when I press sort by each field, the total data changes. Here, I want my total data not to change, and I just want it to be sorted alphabetically according to the WORKEND field.When I use the aggr function, the total data changes. It gives wrong results.
your help is requested. qvf is attached

I want it to look like this even when my total value is pressed to rank.

 

krmvacar_0-1649234908937.png

 

Best Regards

Labels (3)
1 Solution

Accepted Solutions
GeorgePhilips23
Partner - Contributor III
Partner - Contributor III

Aggregating the Intervals shall solve the problem!

Num(Num#(

Aggr(

if(

Interval(Workend - Timestamp(RangeMax(Above(total Workend,0,3))))<0,

0,

Interval(Workend - if(Workstart<Above(Total Workend),Above(Total Workend),Workstart),'mm')

)

,(Workend,Numeric,Ascending))

))

View solution in original post

4 Replies
JHuis
Creator III
Creator III

Hi change the measure to: (Workend-Workstart)*1440

 

Then nothing changes anymore!

krmvacar
Creator II
Creator II
Author

hi @JHuis 

 

its not working.  I think you misunderstood my question

GeorgePhilips23
Partner - Contributor III
Partner - Contributor III

Aggregating the Intervals shall solve the problem!

Num(Num#(

Aggr(

if(

Interval(Workend - Timestamp(RangeMax(Above(total Workend,0,3))))<0,

0,

Interval(Workend - if(Workstart<Above(Total Workend),Above(Total Workend),Workstart),'mm')

)

,(Workend,Numeric,Ascending))

))

krmvacar
Creator II
Creator II
Author

hi @GeorgePhilips23 

its working thank you so much