I have found the networking days between our confirmed delivery date and shipment date. If we ship according to what we have confirmed to the customer, the value will be 2.
Now I need to find a value that tells me, how many deliveries, we ship according to what we promised = value = 2.
Therefore I need to have a %number, which says how many % of the column networking days = 2.
In the below case, if we imagine that it was all our deliveries for November, we delivered 33,33%. on time.
Networking days is a measured value
Create a measure like this :
Measure = VAR _SUM=0-SUMX('Table',[NetworkingDays]) var _mindate=MIN('Table'[Shipment_Date]) var _maxdate=MAX('Table'[Shipment_Date]) var _diff=DAY(_maxdate)-DAY(_mindate)-1 return _SUM/_diff
Then you will get a result like below :
NetworkingDays is a measure .
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply Ailsa,
I worked until I added some new lines, because now 3 out of 5 lines are 2 networking days which supposed to give me a 60%, But it gives me 29%.
Thanks for the reply, it worked until I added a new line.
Something went wrong, as I now have added a new line, which also shows 2 in networking days, but it gives me the value 400% and not 200%
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!