Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I have this measure
Solved! Go to Solution.
Hi @Justas4478 ,
Thank you @Uzi2019 for your prompt reply, I have created a sample data for you to help you solve your problem. You can follow the steps below:
Sample data:
1.Add a new column:
%Not Fulfilment =
VAR _All = 1 - ( 'Outbound Delivery'[Total Actual] / 'Outbound Delivery'[Total Demand] )
RETURN
IF (
'Outbound Delivery'[Total Actual] = BLANK ()
|| 'Outbound Delivery'[Total Demand] = BLANK (),
BLANK (),
_All
)
Final output:
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Justas4478 ,
Thank you @Uzi2019 for your prompt reply, I have created a sample data for you to help you solve your problem. You can follow the steps below:
Sample data:
1.Add a new column:
%Not Fulfilment =
VAR _All = 1 - ( 'Outbound Delivery'[Total Actual] / 'Outbound Delivery'[Total Demand] )
RETURN
IF (
'Outbound Delivery'[Total Actual] = BLANK ()
|| 'Outbound Delivery'[Total Demand] = BLANK (),
BLANK (),
_All
)
Final output:
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-yifanw-msft Hi, it works.
Thank you for the solution.
Would it be possible to explain how the measure works if its not to much to ask?
Hi @Justas4478 ,
Sure, I would be happy to answer that for you. As the result of the calculation will include the blank values in the data as well. You can remove the blank data after listing the equation to eliminate its effect on the result.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Justas4478
Just try to modify your measure for not fulfilment
%Not Fulfilment = 1- ('Outbound Delivery'[Total Actual]/'Outbound Delivery'[Total Demand])
I hope this what you are trying to achieved.
@Uzi2019 Hi, I tried your solution and it has same problem as other solutions that I tried.
It as well calculates for rows that do not have any data which is what I am trying to prevent.
I would hope end result would look like this but data in the red circle would be that 1.5% data.
@Uzi2019 I tied to filter out blank values but that only partialy helps.
It does not filter out if there is even one value in day column
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
94 | |
82 | |
70 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |