Skip to main content
Announcements
See why Qlik was named a Leader in the 2025 Gartner® Magic Quadrant™ for Augmented Data Quality Solutions: GET THE REPORT
cancel
Showing results for 
Search instead for 
Did you mean: 
GianluigiBI
Contributor

Max of one field based on max of another field at script level

 
Hello guys,
as you can see I have a table similar to the one in the screen.
I would need an additional table created like:
Distinct of the Stores; Select the max of the cycle, and I would need the Prog value associated with the max of the cycle
 
 
GianluigiBI_0-1664957467301.png

 

Labels (6)
1 Reply
Lisa_P
Employee

This is possible with the following configuration in a table:

Dimension 1: Store
Dimension 2: aggr(Max(Cycle), Store)
Measure 1: Max(Prog)