Forum Discussion
PBI-Newbie
3 years agoHelper I
Dynamic Networkdays function with Dates from Slicer - Working Days
Dear all, I am trying to have a measure that calculates the following: Networkdays for a selected time period (chosen from the slicer "Date" from Calendar Table). I have a holiday calendar and...
- 3 years ago
Thanks a lot Anonymous ! In the meantime I use three different measures to get the desired calculation.
- Calendar Last Date=Calculate(Lastdate('Calendar[Date]))
- Calendar First Date=Calculate(Firstdate('Calendar[Date]))
- Networkdays([Calendar First Date],[Calendar Last Date],1,Values(Calendar_Holidays[Date]))
Might not be elegant, but worked out as well ๐
PBI-Newbie
3 years agoHelper I
Thanks a lot Anonymous ! In the meantime I use three different measures to get the desired calculation.
- Calendar Last Date=Calculate(Lastdate('Calendar[Date]))
- Calendar First Date=Calculate(Firstdate('Calendar[Date]))
- Networkdays([Calendar First Date],[Calendar Last Date],1,Values(Calendar_Holidays[Date]))
Might not be elegant, but worked out as well ๐