Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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)