Forum Discussion
Duplicate Dates Using DATESBETWEEN
- 4 years ago
Anonymous , You should always use Date/Calendar table marked as Date table
example
Rolling 7 = CALCULATE(count(wkaw[Work Order]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),7,day))
or
Rolling 7 = CALCULATE(count(wkaw[Work Order]),DATESINPERIOD('Date'[Date ],today() ,7,day))
Rolling Days Formula: https://youtu.be/cJVj5nhkKBw
Anonymous , You should always use Date/Calendar table marked as Date table
example
Rolling 7 = CALCULATE(count(wkaw[Work Order]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),7,day))
or
Rolling 7 = CALCULATE(count(wkaw[Work Order]),DATESINPERIOD('Date'[Date ],today() ,7,day))
Rolling Days Formula: https://youtu.be/cJVj5nhkKBw
- Anonymous4 years agoNot applicable
amitchandak - ah I see, I tried to create a date table but I was basing it on the Complete by Date from my database which contains non unique dates which PBI doesnt like. I've created one from scratch now and it's working fine. Thanks for the help.