Forum Discussion
RichBurdick
6 years agoHelper I
Performing Counts
I am trying to get counts for a visualization. I have audit data in the AuditTable and observation data in the ObservationTable and I am trying to get a count of Critical, Major and Minor observatio...
RichBurdick
6 years agoHelper I
az38
6 years agoCommunity Champion
maybe it will be enough to set inactive parameter "Show items with no data" in visual settings?
for 0 in empty cell use statement like
Critical =
var _count = CALCULATE(COUNT(ObservationTable[CLASSIFICATION_OF_OBSERVATION]),FILTER(ALL(ObservationTable), ObservationTable[CLASSIFICATION_OF_OBSERVATION] = "Critical"))
return
if(_count > 0, _count, 0)