This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi, I went through several similar solutions but I still did not get to understand how to solve the problem.
From data below, I have 5 different products (a1,a2,a3,a4,a5) and some of them are categorised with 8D 8115, this represents that the product has a fault.
I would like to show on a pie grapth how many products we have in total (in this case 5), how many products have defect (in this case a1,a3 and a2) and not affected 2 (a4, a5).
This is the data example:
I tried to use distinct coult of Serial number and add Category into the legend, but this is the result.
Thank you in advance for help.
Solved! Go to Solution.
Hi,
could you create 2 measures to calculate to totals e.g:
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Hi,
could you create 2 measures to calculate to totals e.g:
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
You helped me! It works, thank you a lot. 🙂
Hi @AndreaSo
So you want to show the values 5, 3 and 2? Why the need to show the total also, why not just add 3 + 2? maybe I misunderstand?
Phil
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 28 | |
| 27 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 35 | |
| 33 | |
| 25 | |
| 24 |