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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Helper V
Helper V

Presenting average leadtime per calender month



I want to present the average machining leadtime per calender month. Therefore I have three tables. Resource transaction date is linked with the calendar date and WIP_Entity_ID with WIP_Entity_ID from the WIP JOBS table (last one contains unique values).

Import_machining_res_transactions - Power BI Desktop_2018-10-29_15-16-22.png

To calculate the leadtime in working days per workorder I used the following calculation:

Import_machining_res_transactions - Power BI Desktop_2018-10-29_15-20-47.png


The output LT per workorder is correct (visualized in table). Now I want to calculate the average leadtime per month over all jobs, where the completion date of the worder (visible in WIP jobs table) should be leading to calculate which jobs can relate to a specific month. After that the average LT from all these jobs should be calculated and visualized.


Can anyone help how to solve this?


Thanks in advance.

Community Support
Community Support



You may try using AVERAGEX Function and SUMMARIZE Function.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



Thanks for your reply, but I think I need some more guidance on this. Should I integrate AVERAGEX and Summarize within the Mach_LT measure or can this be a separate measure where I can use Mach_LT? It would be helpful to get some guidance on how to programm this.



Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors