cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shivkumar_1711
New Member

Need a DAX formula to calculate SLA Ageing days & Ageing hours

Hi Team,

 

Need your Help to get the highlighted columns Ageing Days & Ageing Hours dax in Power BI.

Also need to exclude Weekends. 

Highlited in yellow column output needs to come in dax formula. Date and time need to consider from the created date and closed

CaseNumberCreatedDateClosedDateAgeing daysAgeing Hours
1233/30/23 7:32 AM3/31/23 9:19 AM225:00:00
7894/26/23 10:00 AM4/27/23 10:00 AM124:00:00
3245/13/23 7:02 AM5/15/23 7:20 AM224:18:00
8903/12/23 11:06 PM3/13/23 11:14 AM124:08:00

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Shivkumar_1711,

For date range analysis requirements, you can refer the following blog start date end date parts if helps:
Before You Post, Read This: start, end date  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @Shivkumar_1711,

For date range analysis requirements, you can refer the following blog start date end date parts if helps:
Before You Post, Read This: start, end date  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!