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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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.

Labels (1)
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  🙂