cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

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

Top Solution Authors
Top Kudoed Authors