Forum Discussion
Question with measures
- 6 years ago
Hi Anonymous
This should do it:
CountNotSatisfied =
CALCULATE (
COUNT('Analisys sheet'[Overall Satisfaction]),
'Analisys sheet'[Overall Satisfaction] = "not satisfied") - 6 years ago
Hi Anonymous ,
I'm assuming that when you are refering to neutral and not satisfied and not satisfied is values in a column of your spreadsheet correct?
The easier way is to just place the column on your visualization, select the aggregation count and then filter to the values Not Satisfied.
If you want to use a measure your calculation should be something similar to this:
count not satisfied = CALCULATE(COUNT('Analisys sheet'[Overall Satisfaction]); 'Analisys sheet'[Overall Satisfaction] = "Not Satisfied")
If you want to do it in a single measure:
COUNTROWS(
FILTER(
Table,
Table[Satisfaction] = "not satisfied"
)
)