This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 May 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 |
|---|---|
| 32 | |
| 25 | |
| 24 | |
| 24 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |