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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to insert condition to none SET expression ?

Hi All

I have below expression :-

sum(DISTINCT  NET_PROFIT_A_TAX_C)

/

sum(DISTINCT  REVENUE_C)

May i know how to insert the below condition to  above expression :-

COMPETITOR = {'WAGO', 'iTDS')

Paul

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be like this:

Sum(DISTINCT {<COMPETITOR = {'WAGO', 'iTDS'}>} NET_PROFIT_A_TAX_C)

/

Sum(DISTINCT {<COMPETITOR = {'WAGO', 'iTDS'}>} REVENUE_C)

View solution in original post

2 Replies
paulyeo11
Master
Master
Author

my QV Doc

sunny_talwar
MVP
MVP

May be like this:

Sum(DISTINCT {<COMPETITOR = {'WAGO', 'iTDS'}>} NET_PROFIT_A_TAX_C)

/

Sum(DISTINCT {<COMPETITOR = {'WAGO', 'iTDS'}>} REVENUE_C)