Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
I have a raw data file of excel that is pulled to see transactional date and time. Each time it is pulled, the date format seems to be jumbled up.
As you can see below, the date format seems to be mismatched with each rows. The correct date format is supposed to be the one in yellow highlighted.
I'm not entirely sure why Excel seems to be showing this error and I would like to try fixing the error in Power Query instead. My intention to standardized the date format to be DD-MMMM-YYYY. However due to the date format being jumbled up, I'm unable to do so.
Is there a way I can fix the error as shown above? I have attached the raw date file below. Thank you so much for your help!
https://1drv.ms/x/s!AiNw1b4HnMZOox0ZRh_ILmQ4dAEf
Hi, @Anonymous
According to your description, I suggest you to set Format cells for the date column to uniform the date format in Excel, like this:
And you can get the uniform date format.
What’s more, you can also connect the Excel file to Power BI desktop and the Power query will automacially transform the data to the same format so that you can copy table to Excel too.
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
your description doesn't match the picture: Do you want keep the time as well?
Also, the question is if the first date is the 2nd of May or 5th of February.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries