Skip to main content
Announcements
Do More with Qlik - Qlik Cloud Analytics Recap and Getting Started, June 19: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
sweens78
Creator
Creator

Normal Formula instead of set analysis

Hi Guys,

In the formula below , I just want to use a normal formula instead of Set analysis any ideas?

 

NUM((count({<MentalHealthHistory_ID={'2','3'}>} NEWKEYID))/(Count(NEWKEYID)-Count(PatientsNotAssessed_ID)),'##.##%')

 

Martin

2 Replies
trdandamudi
Master II
Master II

May be as below:

 

Num(If(MentalHealthHistory_ID='2' OR MentalHealthHistory_ID='3',Count(NEWKEYID)/Count(NEWKEYID) - Count(PatientsNotAssessed_ID),'##.##%')

 

 

sweens78
Creator
Creator
Author

thank you trdandamudi

Should there be a 'count' before the' if 'some where seem to be getting an error with a bracket?