Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
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?