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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Extract date from date and time

 

I am having trouble extracting the date from the date and time.

I have Start Date and I would like to take date form it. 

 

olives_0-1675074524486.png

 

 "StartDay", each Date.From([StartDate]), type date)

 

I would like to get 3/11/2023.

It seems simple, but I can't get it right.

Can someone help me.

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

Click at the date time column and then in the add column tab go to the date tab then click at date only and it will give you the date within each row.

Idrissshatila_0-1675074896215.png

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

Click at the date time column and then in the add column tab go to the date tab then click at date only and it will give you the date within each row.

Idrissshatila_0-1675074896215.png

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




While this does visually cleanup the data point, isn't the time data still present and simply hidden? So if they are specifically referencing date values via dax in a downline use case there could be issues as the data isn't *exactly* as is needed, right?

The advanced editor entry I used to get to this looks like this:
Add_Start_of_Day = Table.AddColumn(Changed_Typ", "Start of Day", each DateTime.Date(DateTime.From([DateTime])), type date)

Anonymous
Not applicable

@Idrissshatila 
Thank you for your advice!

It worked🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.