Forum Discussion
Anonymous
7 years agoNot applicable
Count of Boolean
Hello, I have a boolean that looks at 2 conditions to make a decision. Then I have a measure that is supposed to count the number of "Failed" conditions. My count calculation keeps pulling both condi...
- Anonymous7 years ago
I ended up changing my counting formula. I counted the number of documents that had a status of "Fail".
CALCULATE(DISTINCTCOUNT(Rejected[Change Number]), FILTER(Rejected, Rejected[Pass/Fail] = "Fail"))
Greg_Deckler
Community Champion
7 years agoJust use MAX instead of COUNT aggregation.
- Anonymous7 years agoNot applicable
Thank you. I forgot about the MAX and I will use that on another one of my issues but, that only returns the text "Fail". My result with using MAX is: Count of Fail = "Fail" I need a count of how many documents failed.
- Greg_Deckler7 years ago
Community Champion
Oh, I was referring to MAX of your two numeric columns (1's and 0's). You can use MC Aggregations for that.