Nitesh Kumar’s Post

In Qlik, logical operators are used to filter data based on conditions. Some common logical operators include: 1. Equal to (=): Used to compare if two values are equal. Example: ``` IF(Product = 'Phone', Sales, 0) ``` 2. Not equal to (<>): Used to compare if two values are not equal. Example: ``` IF(Country <> 'USA', Sales, 0) ``` 3. Greater than (>): Used to compare if one value is greater than another. Example: ``` IF(Sales > 1000, 'High', 'Low') ``` 4. Less than (<): Used to compare if one value is less than another. Example: ``` IF(Age < 18, 'Minor', 'Adult') ``` 5. Greater than or equal to (>=): Used to compare if one value is greater than or equal to another. Example: ``` IF(Amount >= 500, 'Above Threshold', 'Below Threshold') ``` 6. Less than or equal to (<=): Used to compare if one value is less than or equal to another. Example: ``` IF(Temperature <= 0, 'Freezing', 'Not Freezing')

To view or add a comment, sign in

Explore topics