Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MagnusSvendsen
Frequent Visitor

Delivery performance

Dear All,

 

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.

MagnusSvendsen_0-1669202975948.png

Networking days is a measured value

MagnusSvendsen_1-1669203108425.png

6 REPLIES 6
Anonymous
Not applicable

Hi @MagnusSvendsen 

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 :

Ailsamsft_0-1669257692886.png

NetworkingDays is a measure .

 

Best Regards,
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%.

MagnusSvendsen_0-1669281764133.png

 

 

Dear Alisa,

 

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%

MagnusSvendsen_0-1669281247505.png

 

 

Thanks!!

amitchandak
Super User
Super User

@MagnusSvendsen , Assume networkingday is column then

 

Divide(

countx(filter(Table, Table[networkingday] >=0), Table[Document]),

count(Table[Document])

)

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thanks!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.