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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
b_garside
Partner - Specialist
Partner - Specialist

Set variable expression via Action using max()

How would I return the Max record ID in this variable expression if the user chooses to go past it?

the last part wont work

=If(vCountryID < max(vCountryID) , '$(vCountryID)'+1 , max(CountryID)  )

2014-02-28_105433.png

1 Solution

Accepted Solutions
b_garside
Partner - Specialist
Partner - Specialist
Author

figured it out. Very much like set analysis.

=If(vCountryID < max(vCountryID) , '$(vCountryID)'+1 , $(=max(CountryID)) )

View solution in original post

1 Reply
b_garside
Partner - Specialist
Partner - Specialist
Author

figured it out. Very much like set analysis.

=If(vCountryID < max(vCountryID) , '$(vCountryID)'+1 , $(=max(CountryID)) )