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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.