March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Good Afternoon,
I have looked at a number of posts including this one:
but a) they dont have saturday hours built in that are differnt to mon-friday and b) also the above just returns 0 for me when i add it as as a column.
1. Date_Recvied - This could be "out of hours" but will not be blank
2. Date_called - This could be blank
Woking hours are 9-5:30 - Mon-Fri 9-1 Saturday
Thank you!!
Solved! Go to Solution.
@sovereignauto Hard to say without knowing your data. I do have a much improved version of that calculation in my book, DAX Cookbook. It is recipe 10 in Chapter 2. You can grab the example PBIX files from github. gdeckler/DAXCookbook (github.com)
@sovereignauto Hard to say without knowing your data. I do have a much improved version of that calculation in my book, DAX Cookbook. It is recipe 10 in Chapter 2. You can grab the example PBIX files from github. gdeckler/DAXCookbook (github.com)
@sovereignauto You would need to add equivalent variables for the Saturday stuff, do essentially the same calculations and then add the two calculation branches together. You could get the Saturday's doing this:
VAR __SaturdayNetWorkDays = COUNTX(FILTER(ADDCOLUMNS(CALENDAR(__dateStart,__dateEnd),"WeekDay",WEEKDAY([Date],2)),[WeekDay]=6),[Date])
Note the = 6 versus < 6.
thanks @Greg_Deckler , thought that would be the case.
any Idea why it woud calculate Zero for every row
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |