Comments
-
Thank you GrantSmith. CASE WHEN COUNT(CASE WHEN `Event Type` IN ('Hearing', 'Vision', 'ASQ3') THEN `ChildPlusID` END) = COUNT( CASE WHEN `Event Type` IN ('Hearing', 'Vision', 'ASQ3') This part is giving syntax error
-
COUNT(DISTINCT (CASE WHEN(Enrolled/Dropped in ('enrolled')) THEN ChildPlus ID END)) I am having trouble with just the *enrolled beast mode column*
-
Thank you, I was able to figure the issue.
-
Thank you @MichelleH
-
this is what the raw data looks like. The first column is the indicator text and the 2nd column is the result with categories. this is what the output looks like
-
Yes, I even use wildcard, LIKE %
-
What I plan on having is the percentange of non-compliant category in result column by the distinct text in indicator text column
-
Thank you Michelle, I tried this COUNT(CASE WHEN Result = 'Non-Compliant-Urgent' THEN IndicatorText END) / COUNT(IndicatorText). but I am still getting zero's populating on my tabel