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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.