Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello dear Power BI-Community
Following problem to solve:
Let's assume this table
You can imagine this would be a satisfaction survey.
The participant can say "yes" i was happy, "no" i was not happy, or make no statement "not answered"
If not satisfied (Answer = no), the participant gives a reason why.
| Question | Answer | Reason |
| A | Yes | - |
| B | No | Because it was stressful |
| B | No | Because it was hot |
| C | Not answered | - |
| D | Not answered | - |
The goal is now to calculate the sum of all answered questions
Unfortunately, with this data structure, it is not possible to simply add up the number of "answers" with Yes and No -> Result would be 3, which is wrong
The correct number would be 2 (namely, questions A & B were answered (question B simply justified twice)
Any idea how to solve this?
Thank you very much for your contribution.
Cheers
qwertzuiop
Solved! Go to Solution.
pls try this
Measure = CALCULATE(DISTINCTCOUNT('Table'[Question]),FILTER('Table','Table'[Answer] = "Yes" || 'Table'[Answer]="No"))
Proud to be a Super User!
pls try this
Measure = CALCULATE(DISTINCTCOUNT('Table'[Question]),FILTER('Table','Table'[Answer] = "Yes" || 'Table'[Answer]="No"))
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |