cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ngocnguyen
Helper III
Helper III

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 IV
Super User IV

@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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power BI User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.