Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
hi all
i know is a rookie question but i am not able to do it
i want a measure to know how many items of one value i have
the cell of the excel file is named overall satisfaction, and it have neutral and not satisfied.
How can i have a measure to have the number of not satisfied?
Solved! Go to Solution.
Hi @Anonymous
This should do it:
CountNotSatisfied =
CALCULATE (
COUNT('Analisys sheet'[Overall Satisfaction]),
'Analisys sheet'[Overall Satisfaction] = "not satisfied")
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")
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsIf you want to do it in a single measure:
COUNTROWS(
FILTER(
Table,
Table[Satisfaction] = "not satisfied"
)
)
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")
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous
This should do it:
CountNotSatisfied =
CALCULATE (
COUNT('Analisys sheet'[Overall Satisfaction]),
'Analisys sheet'[Overall Satisfaction] = "not satisfied")
Hello!
I would just use COUNT('Analisys sheet'[Overall Satisfaction])+0 and then when you use the measure in a visual put up a filter on it to only count not satisfied.
The +0 is to never show blank() in the report.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 52 | |
| 38 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 67 | |
| 34 | |
| 32 | |
| 29 |