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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Elisa112
Helper V
Helper V

change calendar table to include end dates

Hi Experts

 

I have created my calendar table using list function 

 

= List.Dates(#date(2023,1,1),365,#duration(1,0,0,0))

 

However my visuals only include data for 2023 and we need to continue to show users into 2024 and potentially beyond. Do I need to just add an end date or is there something else I am missing?

 

Elisa112_0-1716390480148.png

Elisa112_1-1716390553740.png

 

 

as you can see we are only getting data from sept 2023 and nothing for 2024 (217)

 

Thanks in advance

 

1 ACCEPTED SOLUTION
kpost
Super User
Super User

It looks like here you asked for a list of dates starting on Jan 1, 2023, and extending 365 days into the future with increments of 1 day:

 

List.Dates(#date(2023,1,1),365,#duration(1,0,0,0))

 

change that to 

 

List.Dates(#date(2023,1,1),730,#duration(1,0,0,0))

 

And it will list all dates through the end of 2024.

 

///Mediocre Power BI Advice, but it's free///

View solution in original post

2 REPLIES 2
Elisa112
Helper V
Helper V

@kpost

Thank you

kpost
Super User
Super User

It looks like here you asked for a list of dates starting on Jan 1, 2023, and extending 365 days into the future with increments of 1 day:

 

List.Dates(#date(2023,1,1),365,#duration(1,0,0,0))

 

change that to 

 

List.Dates(#date(2023,1,1),730,#duration(1,0,0,0))

 

And it will list all dates through the end of 2024.

 

///Mediocre Power BI Advice, but it's free///

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors