Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
It's pretty straight foward, i need a datediff that doesnt considerer the times that pass on sunday.
This will be applyed through the year, so, if an item got trigged in january, i need to know how many time has past disconsidering the sunday, because sunday inst a worked time.
Solved! Go to Solution.
I guess you wanted to ignore both Sunday and Saturday, that's the result shown in the chart. You cannot use datediff to filter on Sunday and Saturday, try to continue creating the following columns:
Diff days = COUNTX(FILTER(CALENDAR([Trigger],[Today]),WEEKDAY([Date],2)<>6 && WEEKDAY([Date],2)<>7),[Date])
Diff hours = [Diff days] * 24
Paul Zheng _ Community Support Team
If this post helps, please accept it as the solution to help the other members find it faster.
I guess you wanted to ignore both Sunday and Saturday, that's the result shown in the chart. You cannot use datediff to filter on Sunday and Saturday, try to continue creating the following columns:
Diff days = COUNTX(FILTER(CALENDAR([Trigger],[Today]),WEEKDAY([Date],2)<>6 && WEEKDAY([Date],2)<>7),[Date])
Diff hours = [Diff days] * 24
Paul Zheng _ Community Support Team
If this post helps, please accept it as the solution to help the other members find it faster.
@Anonymous , please find the attached file to check workday diff, that does not consider, Saturday ad Sunday. You can change the column in the date table to exclude only Sunday
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |