SUM of CASE in Beast Mode
I'm trying to do what I have below and am failing. I have multiple columns with Yes/No statements and I want to count the yes ones and divide by the total.
WHEN `Col1` = '' THEN 0 ELSE 1
WHEN `Col2` = '' THEN 0 ELSE 2
WHEN `Col3` = 'Disabled' OR `Col3` = 'Local Approval' THEN 0 ELSE 1
WHEN `Col4` = '' THEN 0 ELSE 1
END)) / 5 * 100
Basically what i'm looking to do is to fill the % Control Assessment column with the ratio of yes columns. Can someone point me in the right direction?