Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, struggling to figure out how to change date/time format in PowerBI.
I have bunch excel files that include a column called Time in a following format:
7/5/2021 6:00:00 AM - mm/dd/yyyy hh:mm (5th of July 2021 6 am)
When imported, no matter what I do, it is converted to 5/7/2021 6:00:00 AM - mm/dd/yyyy hh:mm (7th of May 2021 6 am)
So format kind of stays the same but month and day values are swapped.
Solved! Go to Solution.
Hi, @Alex_0201
Indeed, sometimes I encounter this situation, I usually solve it like this. You can try to change type with locale.
Best regards
Janey guo
Hi, @Alex_0201
Indeed, sometimes I encounter this situation, I usually solve it like this. You can try to change type with locale.
Best regards
Janey guo
@Alex_0201 , Hope data type is date.
One option column tool, you can choose data format. Once you click you will see that tab.
The second is under Data Modelling you have an option for formatting, you should able to give format you want under property
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings
Hi @amitchandak thanks for the comment! tried both, doesn't seem to be working. No matter what format (custom in Model formatting) I choose, dd is confused with mm and other way around.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |