The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I'm currently trying to copy a statement accross from Excel to DAX. The Excel one reads as below. The result outputs in h:mm in Excel.
(NETWORKDAYS([New End Date],BankHolidays)-1)*10/24)+([End Time]-CoreHourStart)), |
DAX:
CALCULATE(SUM(vwDimDate[WorkingDayFlag]), DATESBETWEEN(vwDimDate[Date],MAX('Booking Scenarios'[New Start Date]), MAX('Booking Scenarios'[New End Date])))-1*10/24 + MAX(End Time, - TIME(8,0,0).
Could somebody please help me with this measure? Its currently working out the networks days, but not the second part.
Thanks in advance
Liam
Hi @Anonymous ,
The formula is abstract. It's better to share some sample data and expected out put to us.
Best Regards,
Jay
Hi @amitchandak ,
Thanks for your reply.
The network days isnt the part thats incorrect. It was the second part of converting to time and then multiplying.
)))-1*10/24 + MAX(End Time, - TIME(8,0,0).
Thanks