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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Calculate working days to resolution, when not in suspended status

I'm trying to obtian the average business days (Monday - Friday) to resolution and longest amount of resolution time (time it took to close the ticket that stayed open the longest).  I've worked on this for quite some time, but am at my wits end and running out of time.  Can someone please help?

My date table contains an "IsWorkDay" (0 or 1) column and my Status table contains the facts related to the Ticket (please see screenshot below)

example.png

 

I'm trying to find the best way to determine the number of business days it took to resolve each ticket, excluding the days the ticket was in a "Suspend" status. If the ticket isn't resolved, I don't want it included in the results.  From there, I'll create a card visual to get the average number of days it took to close tickets and another card for the number of days it took to resolve the ticket that was opened the longest. 

For example, Ticket 1 should be 28 days to resolution  (37 total business days - 9 business days in a suspended state)

 

I can't share my pbix due to confidental data but if  I can provide any other information, please let me know.

 
Thank you!!

 

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Could you share some sample data and clarify more details about your requirement?

 

Community Support Team _ Jimmy Tao

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors