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: 
Not applicable

Set Analysis

Hi All,

Please help me convert below mentioned expression into set analysis.

Expression:

 

Count(if((Account_Table_ACSAT.Responded='yes' or Account_Table_ACSAT.Responded='Yes') and (Account_Table_ACSAT.Q2_Score=6 or Account_Table_ACSAT.Q2_Score=7),1))
/Count(if((Account_Table_ACSAT.Responded='yes' or Account_Table_ACSAT.Responded='Yes'),1))

Thanks in advance!

Regards,

Ankita

Labels (1)
1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

Count({<Account_Table_ACSAT.Responded={'yes', 'Yes'}, Account_Table_ACSAT.Q2_Score={6, 7}>} Account_Table_ACSAT.Responded)

/ Count({<Account_Table_ACSAT.Responded={'yes', 'Yes'}>} Account_Table_ACSAT.Responded)

View solution in original post

4 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

Count({<Account_Table_ACSAT.Responded={'yes', 'Yes'}, Account_Table_ACSAT.Q2_Score={6, 7}>} Account_Table_ACSAT.Responded)

/ Count({<Account_Table_ACSAT.Responded={'yes', 'Yes'}>} Account_Table_ACSAT.Responded)

Not applicable
Author

Hi,

Could you plz covert below if condition into set analysis.

Expresion:

 

if

(isnull(Count(if(Account_Table_Pulse.Responded='Yes' and (Account_Table_Pulse.Q2_Score=6 or Account_Table_Pulse.Q2_Score=7),1))/Count(if(Account_Table_Pulse.Responded='Yes',1))),0,(Count(if(Account_Table_Pulse.Responded='Yes' and (Account_Table_Pulse.Q2_Score=6 or Account_Table_Pulse.Q2_Score=7),1))/Count(if(Account_Table_Pulse.Responded='Yes',1))))

CELAMBARASAN
Partner - Champion
Partner - Champion

Probably this

Alt(Count({<Account_Table_Pulse.Responded={'Yes'}, Account_Table_Pulse.Q2_Score={6, 7}>} Account_Table_Pulse.Responded) / Count({<Account_Table_Pulse.Responded={'Yes'}>} Account_Table_Pulse.Responded), 0)

Not applicable
Author

Hi,

I am getting error "Drawing of chart internally failed" when am using above expression without dimension.