Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

IF [Field_1] > [Field_2] then... in the script

Hi,

How i can compare the value of two field in the script,

i want to do : IF( [Field_1] > [Field_2] then 'Value' ) as new_field.

Thanks

1 Solution

Accepted Solutions
marcus_sommer

Then you could use:

IF([Field_1] > [Field_2], 'Value', 'SomeOtherValue' ) as new_field

- Marcus

View solution in original post

3 Replies
marcus_sommer

Then you could use:

IF([Field_1] > [Field_2], 'Value', 'SomeOtherValue' ) as new_field

- Marcus

raghvendrasingh
Creator II
Creator II

Please try this one:


IF( [Field_1] > [Field_2] , 'Value' )  as new_field

Not applicable
Author

Thanks a lot Guys.