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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Super User
Super User

@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!:
The Definitive Guide to Power Query (M)

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
Super User
Super User

@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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.