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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Humanoidhuman
Frequent Visitor

Convert Full Date/ Time Stamp to date in separate column in BI Desktop

Hi,

 

I have an automated flow which downloads and saves my excel sheet to a predefined location on a daily basis. I have connected the excel file to my BI desktop and I am trying to build reports. 

However, the issue that I am facing is the date column looks like this 

Humanoidhuman_0-1710774528767.png

I am trying to create a new column which will contain only the date (as the time is not as relevant for my report at this point). I tried using this

Humanoidhuman_1-1710774619038.png

but to no avail. 

 

If anyone can kindly help me out with this, it would be highly appreciated!!

1 ACCEPTED SOLUTION
Humanoidhuman
Frequent Visitor

I managed to figure out a solution, although I did it in two steps. Maybe someone might know an easier way. However, still putting my method here for reference. First I created a column with the following DAX code

Date Only = LEFT('Table'[Date], FIND(" ", 'Table'[Date]) - 1)

This gave me dates in the following format 
Humanoidhuman_1-1710778080430.png

 

 

In order to make it a bit more concise, I then converted the long date into short date format using another columna and the following DAX code:

Date Numeric = FORMAT('Table'[Date Only], "MM-DD-YYYY").
Humanoidhuman_2-1710778162732.png

 



View solution in original post

3 REPLIES 3
Humanoidhuman
Frequent Visitor

I managed to figure out a solution, although I did it in two steps. Maybe someone might know an easier way. However, still putting my method here for reference. First I created a column with the following DAX code

Date Only = LEFT('Table'[Date], FIND(" ", 'Table'[Date]) - 1)

This gave me dates in the following format 
Humanoidhuman_1-1710778080430.png

 

 

In order to make it a bit more concise, I then converted the long date into short date format using another columna and the following DAX code:

Date Numeric = FORMAT('Table'[Date Only], "MM-DD-YYYY").
Humanoidhuman_2-1710778162732.png

 



Daoud_H
Helper I
Helper I

Hi @Humanoidhuman,

You should remove the letters at the end by doing this : 

Date_2 = 
VAR New_Date = LEFT('Table'[date], LEN('Table'[date]) - 3)
VAR UTC_Date = FORMAT(New_Date, "mm/dd/yyy")
Return UTC_Date

 

This would work after that.

Thanks so much @Daoud_H . I tried this. However, this basically just took out the timezone. Now it is displaying as 

Humanoidhuman_0-1710777937960.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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