Forum Discussion
DATESINPERIOD Extending Beyond Calendar Table
Hi everyone, I'm trying to get the 12 month rolling data from a visual. I'm using DATESINPERIOD as shown in below DAX measure but I'm getting values after the maximum date of my table calendar (my calendar goes up to ~1 year after today, so the max date on the calendar table is Sep 6).
I've tried googling and searching the forums for an answer but I still cannot fix the error.
3 Replies
- Greg_Deckler
Community Champion
Anonymous DAX TI functions should be avoided. You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008You may also find this helpful:
- AnonymousNot applicable
Thanks Greg! I'll give it a read.
- AnonymousNot applicable
Hi, for everyone still having this issue I managed to fix it by unchecking the Auto date/time in the workbook options. Weird fix but now it seems to work correctly.