SUM based on Text Criteria
I have a STRING column called Question, this question column provides two possible answeres, either 'Yes; or 'No'
How do I create formulas to sum the amount of times a Yes shows up, the amount of times a No shows up and the amount of times that both of them show up?
ErickRuiz7
Posted 2 years ago·Last reply 2 years ago
5 comments
david-h
·2 years agoHi Erick, not sure I understand exactly the use case you are on, but it seems that you could use multi pass agregation (kind of adding a group by in an intermediate calculation in your measure). You may also use this old IT trick : yes=1 and no=0. Let us know if this can be useful in your use case, and if not, maybe you can share a siplified data model.
Best,
David.
ErickRuiz7
OP2 years agoThanks for answering my question, I did the calculation on the elastic cube using a CASE when, I didn't find a way to do a calculation directly on the dashboard.