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: 
dmohanty
Partner - Specialist
Partner - Specialist

How to find MIN or MAX of two variables?

Hi All,

Lets say I have two variables - VarA and VarB. .

How can I get a MIN and MAX between those two and store it in a 3rd variable called VarC?

Regards!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can use RangeMax()  / RangeMin() functions, like

=RangeMax(VarA, VarB)

=RangeMin(VarA, VarB)

View solution in original post

1 Reply
swuehl
MVP
MVP

You can use RangeMax()  / RangeMin() functions, like

=RangeMax(VarA, VarB)

=RangeMin(VarA, VarB)