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: 
FlaminioIta88
Contributor
Contributor

Show only the row with max date

Hello everybody,

 

I have a situation like this table: due to a dirty DB, for the same items (in this example, item A123) I have 3 different End Version.

I know that the right End Version is the highest (in this example '999999999999999999') but the table show 3 rows showing all the 3 existing value.

I just want the row with "9999999999999".

How can I do it? I tried to write "Max(EndVersion)" but it didn't solved the problem.

Thanks

 

# item End Version
A123 999999999999999999
A123 2022052800
A123 2023030100
Labels (1)
1 Solution

Accepted Solutions
Aditya_Chitale
Specialist
Specialist

Try:

Aggr( max(EndVersion) ,"# item")

 

Regards,

Aditya

View solution in original post

2 Replies
Aditya_Chitale
Specialist
Specialist

Try:

Aggr( max(EndVersion) ,"# item")

 

Regards,

Aditya

FlaminioIta88
Contributor
Contributor
Author

Thank you very much!