Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Dynamic Calendar with specific start date and end date: end of current year

Hello!

I am trying to create a dynamic calendar table with a start date of 01/01/2017 and the end date always the end of the current year, but I just keep getting it wrong. The one I use now goes to today only and I cant seem to update it properly.  Any help would be VERY appreciated!

 

THANK YOU!

1 ACCEPTED SOLUTION
BobBI
Resolver III
Resolver III

Hi Eden,

 

Try this DAX , Create 'new table' under modeling

Calender = CALENDAR(
                      Date(2017,01,01),
                      Date(YEAR(today()),12,31)
                   )

You can additional columns by using ADDCOLUMN() function or just by adding new column (Right click--> New column) in the Calendar directly

Hope if would help

Thanks
Sukhi

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Calendar(date(2017,1,1),date(year(today()),12,31))

BobBI
Resolver III
Resolver III

Hi Eden,

 

Try this DAX , Create 'new table' under modeling

Calender = CALENDAR(
                      Date(2017,01,01),
                      Date(YEAR(today()),12,31)
                   )

You can additional columns by using ADDCOLUMN() function or just by adding new column (Right click--> New column) in the Calendar directly

Hope if would help

Thanks
Sukhi

Anonymous
Not applicable

Thank you thank you!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.