March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
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
but to no avail.
If anyone can kindly help me out with this, it would be highly appreciated!!
Solved! Go to Solution.
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
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:
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
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:
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |