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.
I have Excel file with date column ('Column1') format as: dd/mm/yy
and time column ('Column2') format as: hh/mm.
I need to use these columns in a chart with a new calculated datetime column ('Column3') format as dd/mm/yy, hh/mm.
( Column3 = (Table ['Column1'] + Table ['Column2'] ).
My problem: whatever i'm trying to do i can't get the reuierd format - dd/mm/yy
The format that i get is mm/dd/yy. Even when i'm getting the right format in the date column ('Column1'),
I can't get it right in the new calculated column ('Column3').
I tried to change the following:
Date format in the Excel file (Text, Date, Custom format);
Data Type in Power BI, both text and date;
Region (Location) settings in my computer;
Regional settings in Power BI (File - Options - Current file - Regional Settings);
Check and uncheck Time Intelligence Auto Date/time (File - Options - Current file - Data Load);
I also tried to split the date column, arrange the new columns in the desired format and merge again.
Nothing works.
My question: is there a solution through DAX or Power Query to set the desired date format regardless of the
the regional settings of the source file/computer or the Power BI Locale?
Thanks
Solved! Go to Solution.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsTry
DateTime.ToText([YourDateTimeColumn],"dd/MM/yyyy")
Hope this helps
Dominik.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsSolution works!
Thank you very much.
Dominik i will try your solution as well.
Thanks again for both of you.
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 |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |