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 just start using power BI and try to figure it out how to do distinctcount. Below is my data set.
I need to calculate the yield by
- test name
- group (group can be first, only, last).
- if one parameter fail, the whole unit will be fail.
Currently, I can do it by calculate Qty and Fail Qty.
but I will need this function to work if I want to group the "Group" together. So, I can compare yield between
group1: first and only
group 2: last and only.
what is the best way to handle this situation ?
Thanks
Hi @Anonymous ,
You can try creating calculated tables to achieve this effect.
CALCULATE & CALCULATETABLE - What's The Real Diffe... - Microsoft Power BI Community
Using calculated tables in Power BI Desktop - Power BI | Microsoft Learn
If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 39 | |
| 28 | |
| 27 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 26 | |
| 25 |