Qlik Community

Ask a Question

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
cancel
Showing results for 
Search instead for 
Did you mean: 
Partner
Partner

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
MVP
MVP

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

=RangeMax(VarA, VarB)

=RangeMin(VarA, VarB)

View solution in original post

1 Reply
MVP
MVP

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

=RangeMax(VarA, VarB)

=RangeMin(VarA, VarB)

View solution in original post