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 All,
I have a list of a table of defective value / total value by date and factory location.
In E2, I like to show the result of D10 / D5 , could you please help!
All the best,
Paris
Solved! Go to Solution.
Hi, @paris
Based on the above data, I guess there is an error in the description, E2=D2/D5 instead of D10/D5.
So, try to create a measure like this:
Measure =
VAR _def =
CALCULATE (
SUM ( [Value] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Factory] ),
[ltem] = "Defective"
)
)
VAR _Total =
CALCULATE (
SUM ( [Value] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Factory] ),
[ltem] = "Total"
)
)
RETURN
IF ( MAX ( [ltem] ) = "Total", BLANK (), DIVIDE ( _def, _Total )
Result:
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @paris
Based on the above data, I guess there is an error in the description, E2=D2/D5 instead of D10/D5.
So, try to create a measure like this:
Measure =
VAR _def =
CALCULATE (
SUM ( [Value] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Factory] ),
[ltem] = "Defective"
)
)
VAR _Total =
CALCULATE (
SUM ( [Value] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Factory] ),
[ltem] = "Total"
)
)
RETURN
IF ( MAX ( [ltem] ) = "Total", BLANK (), DIVIDE ( _def, _Total )
Result:
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Zeon Zheng,
Thank you so much for your help. It worked nicely , thank you again.
Thank you again,
All the best,
Paris
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 |
|---|---|
| 25 | |
| 22 | |
| 22 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 43 | |
| 41 | |
| 39 | |
| 21 | |
| 19 |