The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all
I am trying to work out the working day/time difference to establish the case length. ideally discounting non work days/hours.
This are the 2 fields i have, and a date table.
Any help will be great.
Thanks
Solved! Go to Solution.
Hi @EloiseJane ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a calculated column.
Working Days = NETWORKDAYS('Table'[Created Date], 'Table'[Resolved Date], 1)
(3) Then the result is as follows.
Please refer to the following documents for more information.
Calculating Work Days in Power BI with DAX NETWORKDAYS Function (mssqltips.com)
Working Days Calculator in Power BI (mssqltips.com)
Calculate Workdays Between Two Dates in Power BI (enterprisedna.co)
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @EloiseJane ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a calculated column.
Working Days = NETWORKDAYS('Table'[Created Date], 'Table'[Resolved Date], 1)
(3) Then the result is as follows.
Please refer to the following documents for more information.
Calculating Work Days in Power BI with DAX NETWORKDAYS Function (mssqltips.com)
Working Days Calculator in Power BI (mssqltips.com)
Calculate Workdays Between Two Dates in Power BI (enterprisedna.co)
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @EloiseJane
What are the working hours? What are the non work days? Do you have a holiday table? Please share the same sample data as copy/paste.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
20 | |
17 | |
15 | |
14 |
User | Count |
---|---|
43 | |
36 | |
25 | |
22 | |
19 |