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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
syelify
Frequent Visitor

One date to Calendar Date

Hello,

 

I have one specific date column, and I would like to have a date (in result - image showing below)

Is there any possible queries to do this?

Thanks,

date.JPG

2 ACCEPTED SOLUTIONS
BA_Pete
Super User
Super User

Hi @syelify ,

 

So it looks like you want to crossjoin every day of a given month with any date that sits within that month.

If so, you can add a custom column like this:

List.Transform(
  {
    Number.From(Date.StartOfMonth([Date]))..Number.From(Date.EndOfMonth([Date]))
  },
  each Date.From(_)
)

 

Expand the resulting list to new rows and this should give you what you want.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

@syelify ,

 

Glad it's worked for you.

If you're happy with this answer, can you hit 'Accept as Solution' on the relevant post to help others find the answer quicker please?

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

3 REPLIES 3
syelify
Frequent Visitor

Thanks it works 🙂

@syelify ,

 

Glad it's worked for you.

If you're happy with this answer, can you hit 'Accept as Solution' on the relevant post to help others find the answer quicker please?

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




BA_Pete
Super User
Super User

Hi @syelify ,

 

So it looks like you want to crossjoin every day of a given month with any date that sits within that month.

If so, you can add a custom column like this:

List.Transform(
  {
    Number.From(Date.StartOfMonth([Date]))..Number.From(Date.EndOfMonth([Date]))
  },
  each Date.From(_)
)

 

Expand the resulting list to new rows and this should give you what you want.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors