The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Using power BI ..,,
If I have submit date and last modified date and need to calculate is the difference between them >72 hours then it's breached else within SLA
, but I need to use only the workdays and please consider that the working hours are only 8 hours per day so I need to consider that
How I can create it using power BI
Solved! Go to Solution.
Hi @Nadaaa-1 ,
You can use the NETWORKDAYS() function, which specifies the weekend rest days, and you can check the results as follows:
Hour = var _d = NETWORKDAYS(MAX('Table'[Star]),MAX('Table'[End]),2)
RETURN _d*8
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Nadaaa-1 ,
You can use the NETWORKDAYS() function, which specifies the weekend rest days, and you can check the results as follows:
Hour = var _d = NETWORKDAYS(MAX('Table'[Star]),MAX('Table'[End]),2)
RETURN _d*8
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
I would try to create a calculated column "workday" first (in your Date table) and define which days are workdays. Mark your days like this :
Stg like this;
Your working hours are already defined?
Pls try to apply this steps first. Just an idea
Regards