Forum Discussion
Calendar Tables - Dynamic rolling 12M
- 4 years ago
Hi,
Try this Table formula
Calendar = CALENDAR(edate(EOMONTH(today(),-1)+1,-12),EOMONTH(today(),-1))
Hi,
Try this Table formula
Calendar = CALENDAR(edate(EOMONTH(today(),-1)+1,-12),EOMONTH(today(),-1))
It worked the day by day:
I tried to have the first day per month only, but I got this error:
Can you guide me?
Thanks!
- Ashish_Mathur4 years ago
Super User
Hi,
As i mentioned earlier, it is a bad idea to do that because a Calendar should always have a row for each data from start to finish. Furthermore, i do not even know how to do that in the DAX language. You should create the Calendar Table in the Query Editor instead and then filter that table to only show the first of each month. Someone else will help you with that.
- o593934 years ago
Post Prodigy
It's ok. Your code solved my problem, I will stick to your recommendation of full calendar instead.
Thank you!!
- Ashish_Mathur4 years ago
Super User
You are welcome.
- o593934 years ago
Post Prodigy
Ashish_Mathur It could be having the extraction of the first date from each month by using this column already created: