Forum Discussion
Calculating delivery performance
- Anonymous2 years ago
Hi Ivo78 ,
According to your description, here are my steps you can follow as a solution.
(1) We can create a measure.
delivery performance = var _a=[Delivery succesful] var _b=[Delivery succesful]+[Not deliverd] return DIVIDE(_a,_b,0)(2) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous2 years ago
Hi Ivo78 ,
Please check this line of code. there is no ONWAAR() function in dax.
'DeliveriesStatus'[Culpable]] = ONWAAR()You can create this measure if you want to calculate the error percentage.
FalsePercentage = var _a=[Not deliverd] var _b=[Delivery succesful]+[Not deliverd] return DIVIDE(_a,_b,0)If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523