Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Getting Max() from Alternate States selection

Hi there,

I am using Max(Year) and Max(Year)-1 to get the year and the previous your from my selection.

Now I need the Max(Year) and the Max(Year)-1 from an Alternate State selection.

I need them in my expression. Any idea how this expression would look like?

Thank you all.

Dennis.

1 Solution

Accepted Solutions
nagaiank
Specialist III
Specialist III

Did you try

Max( { [AlternateState] } Year)

View solution in original post

2 Replies
nagaiank
Specialist III
Specialist III

Did you try

Max( { [AlternateState] } Year)

Anonymous
Not applicable
Author

Thanks that is it, I got lost in way to many < $:: > )( [ ] { }'s  🙂