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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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

1 Solution

Accepted Solutions
sunny_talwar

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

May be like this:

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

/

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