Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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)