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

Calendar table that displays current date to six weeks in the future?

I want to create a date table in which the date dimension always displays from the current day to six weeks in the future. Basically when I create the date table it would be something like this:

 

DateKey = CALENDAR(TODAY(), ???)

 

What would I have to put in the second argument to display six weeks in the future as the end date?

1 ACCEPTED SOLUTION
BhaveshPatel
Community Champion
Community Champion

Please refer to this blog post by Ruth. 

You will love it. It's handy and I always use this.

https://community.powerbi.com/t5/Community-Blog/The-quot-only-quot-Power-BI-calendar-you-will-ever-n...

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Nevermind, I got it, it's pretty simple.

 

DateKey = CALENDAR(TODAY(), TODAY() + [number of days])

 

For some reason I thought that wasn't working before, but something must have been off with my syntax.

BhaveshPatel
Community Champion
Community Champion

Please refer to this blog post by Ruth. 

You will love it. It's handy and I always use this.

https://community.powerbi.com/t5/Community-Blog/The-quot-only-quot-Power-BI-calendar-you-will-ever-n...

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

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.