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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ngocnguyen
Helper IV
Helper IV

Create a date table to using existing dataset “order date” column in power pivot

Hi all

I have 1 table that contain date column ( Order date ). Now I wanna create a date table to using existing dataset “order date” column in power pivot.

 

I know how to create it in power bi, but in power pivot, I don't know. 

Could you please show me how to do it?

Many thanks in advance for your support!

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @ngocnguyen ,

 

Does your Power Pivot refer to Power Query?

You can try to create a calculated table in Power Query as

Calendar table = CALENDAR(MIN('Table'[Order date]),MAX('Table'[Order date]))

6.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@ngocnguyen , You can create a calendar in power query like

https://radacad.com/create-a-date-dimension-in-power-bi-in-4-steps-step-1-calendar-columns

 

Not sure what you mean by using order date.

 

Maybe you create a table of distinct values , refer this video - https://youtu.be/kU2M1LmNvNo?t=65

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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