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

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.

Reply
KG1
Resolver I
Resolver I

Historical Data Reports

Hi,

 

Would someone be able to kindly help me with this problem

 

I have a data table which contains the created date and completion date of a unique work order

 

I need to look back over time and report on the status of the work basket at a particular point in time

 

I have supplied a snapshot of dummy data I created in Excel

Work Order NumberCreated DateActual EndTime to Complete
1215/08/201921/08/20196
12315/08/2019  
23416/08/201919/08/20193
34516/08/2019  
45616/08/201903/09/201918
56716/08/2019  
67816/08/201920/08/20194
78916/08/201921/08/20195
90016/08/201920/09/201935
101116/08/201920/08/20194
112216/08/201920/08/20194
123316/08/201919/08/20193
    
134402/09/201904/09/20192
145502/09/2019  
156602/09/201902/09/20190
167702/09/201903/09/20191
178803/09/201905/09/20192
189903/09/2019  
201003/09/201909/09/20196
212103/09/201906/09/20193
223203/09/201918/09/201915
234303/09/2019  
245403/09/201903/09/20190
256503/09/2019  

 

I need to able to show the following for each month

 

For August 19:

 

Count the number of orders not completed before month end (ignore any completed >01/09/19)

 

The average cycle time of all the orders that were completed before month end

 

For Sept

This will now become a cumulative number and include all the orders released in August as well

 

Count the total number of orders not completed before month end (ignore any completed >01/10/19)

 

The average cycle time of all the orders that were completed before month end

 

Expected Result

 AugustSept
No of Oustanding Jobs47
Average Cycle time7.2515.8571429

 

Many Thanks

 

4 REPLIES 4
dax
Community Support
Community Support

Hi KG1,

If possible, could you please explain the logic to me? Count the number of orders not completed before month end in Augest should be 3

395.PNG

In addition, I want to know how you calculate the Average Cycle time? could you please explain to me?

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Zoe

 

Thank you for taking the time to resond

 

Apologies - yes you are right it should be 3 orders not completed for August

 

The cycle time is calcuated by totalling the time to complete and dividing by the total number of orders

 

Many Thanks

 

 

dax
Community Support
Community Support

Hi KG1

I am still can't get the average result like you, so if possible, could you please write the expression for me. You could refer to my sample.

In addition , if possible, could you please inform me more detailed information for your second problem? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find i

So my work so far

 

I have created 2 new columns for the created date and actual end date which extracts the Month

 

Completed Month = Format([Actual End].[Month],"MMM")

 

I have exported this data into Excel to try and work out the formula for the table visual

 

I have 2 tables 1. Total Orders Created 2. Total Orders Completed

 

MonthTotal Orders Created
August1291
September1784
Grand Total3075

 

MonthTotal Orders Completed
August479
September1921
Outstanding
Grand Total2400

 

The output table would be

August Work Basket812
September Work Basket675

 

August Formula = 1291-479 = 812

Sept Formula = (1784+812)-1921 = 675

 

How do I replicate this in PowerBI?

 

Or have I gone about this totally the wrong way?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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