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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
RubenBC
Frequent Visitor

Calculate Aging of Workorder open by month

Hi All,

 

I have a list of workorders with the ID, starting date and close date and I need to count the number of workorder open by end of month and slip them between <30 days, 30 to 60 and >60days. I have grouped the ranges of age in a table and I have included some measure that I saw in similar questions, but they don't work as expected for my issue.

 

RubenBC_0-1644405597158.png

This is the result of the measure

RubenBC_1-1644405708066.png

And this is what I expect to have

RubenBC_2-1644405748273.png

The results changes if the open day is 1st day of month or 2nd day of month. Also I think the measure is taking the first day of month and not the last day.

These are the table and the measures

RubenBC_3-1644406052954.png

RubenBC_4-1644406079315.png

 

Any help would be greatly appreciated.

 

Regards

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@RubenBC 
Take a look at these two Quick Measures as I think you want something like them.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
RubenBC
Frequent Visitor

Hi,

I found the issue in the measure, I missed to include the workorder number in the ALL expresion.

Thanks

 

RubenBC
Frequent Visitor

Hi Greg,

 

The links you share are almost what I need but I still need to group the orders per days, I mean how many open orders have <30, between 30 to 60 and <60, per month.

 

Thanks

RubenBC
Frequent Visitor

Thanks I will take a look

Greg_Deckler
Community Champion
Community Champion

@RubenBC 
Take a look at these two Quick Measures as I think you want something like them.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors