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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Nikhil2725
Creator II
Creator II

Set Analysis

Hi All,

How to convert the below expression into the Set analysis..

Round([SumOfGrossValue_LC]-[SumOfCOGS_LC])/[SumOfGrossValue_LC],2)

 

3 Replies
Vegar
MVP
MVP

What do you want to do with set analysis? Your expression looks fine. However it looks like you have an issue with paranthesis, one to many on the right ore one to little to the left.

Round([SumOfGrossValue_LC]-[SumOfCOGS_LC])/[SumOfGrossValue_LC],2)

Nikhil2725
Creator II
Creator II
Author

Hi Vegar,

I want to recreate the same using Set analysis...

 Because I have 2 conditions to put into the Set analysis..

 

Vegar
MVP
MVP

Try like this

Sum( {<FieldA ={Something}, FieldB ={SomethingElse}>} Round(...))