Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
diana_
Contributor II
Contributor II

Set Analysis: syntaxes

Hello,

 In my data column Side has values 1, 2 and 3, for all the variables I would like to retrieve data that has side either 2 or 3, so I tried these 2 formulas, but they don't work. If I write just [Side]=2 without '>' sign, it gives value, but I need values >=2

Sum({$<[Label name]={'Total Consumption (MWh)'},[Side]>=2} >} Value)

Sum({$<[Label name]={'Total Consumption (MWh)'},OR([Side]=2,[Side]=3)>} Value)

Could you please help?

Thanks

Best regards,

Diana

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

May be try this

Sum({$<[Label name] = {'Total Consumption (MWh)'}, [Side] = {">=2"}>} Value)

or

Sum({$<[Label name] = {'Total Consumption (MWh)'}, [Side] = {'2', '3'}>} Value)

 

View solution in original post

1 Reply
sunny_talwar

May be try this

Sum({$<[Label name] = {'Total Consumption (MWh)'}, [Side] = {">=2"}>} Value)

or

Sum({$<[Label name] = {'Total Consumption (MWh)'}, [Side] = {'2', '3'}>} Value)