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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Raul09
Advocate I
Advocate I

Calendar Table invoke dates

Hi everybody,

 

Well, we are starting a new year of reports! 

So, i was updating them then i realized all my MTD calculations stopped working, but only on my new data of 2018.

I think is because i have endofthemonth calculations for my MTD values and my calendar doesn't have those dates yet.

 

How can i invoke all 2018 in my calendar?

here is a screenshot of the calendar i'm using 

 

Untitled.png

 

Thanks in advance.

3 REPLIES 3
MarcelBeug
Community Champion
Community Champion

Since you include a screen shot of a Power Query function: this formula creates a table with all dates for 2018:

 

= #table(type table[Date = date],List.Zip({List.Dates(#date(2018,1,1),365,#duration(1,0,0,0))}))
Specializing in Power Query Formula Language (M)

 

Thanks for the reply @MarcelBeug

 

The real question is how can i edit my calendar to show all dates for 2018 starting in 2017.

 

The screen shot you posted, just included the general information of function List.Dates.

 

Without you posting your actual code, I won't be able to help you.

Specializing in Power Query Formula Language (M)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors