Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QLIKWORLD LIVE! MAY 16 - 19TH, EARLY BIRD DISCOUNTS! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
dmohanty
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
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)

View solution in original post