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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Chippy
Frequent Visitor

Date Format

How can I make this text format in a dd mm yy format? Using the normal DateValue it seems to give me dates in future eg 7 Dec instead of 11 July?

 

Chippy_0-1726701165727.png

 

15 REPLIES 15
PhilipTreacy
Super User
Super User

@Chippy 

 

Have you looked at the file I emailed you?

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks Phil, Yes, I took your approach and now using Power Query instead of the DAX and I seem to have more success.

 

Another query has come up, that is: my data is sourced from another 3rd party application, so I need to download the data in Excel. I tried downloading the data and saved over the old data, keeping the same file name but the BI model says, "The key didn't match any rows in the table". What would be the best practise for refreshing the excel data, to ensure all the added custom queries I have added in Query are preserved?

 

thanks

Chris

Hi @Chippy 

 

Best to start a new post for a different problem and accept a solution for this one.

 

That error can indicate that names of sheets or columns are different in the file(s) you are trying to import compared to the initial file you used to set up the query.

 

Best practice is to keep all files you import with the same query to have exactly the same structure (e.g. sheet names, column names) and data types in the columns.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Chippy
Frequent Visitor

Thanks, This did not seem to work..I am wondering if it is due to the date formats not being consistent eg days drop the leading zero but months have a leading zero.  

Chippy_0-1726709885736.png

 

 

Hi @Chippy 

 

No that shouldn't matter - download this file for an example.

 

When you say it didn't seem to work - why do you say this?  What result did you get when you tried what I suggested?

 

Please provide the actual data you are using - even better would be the file with the data in it. 

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


https://froneri365.sharepoint.com/:u:/r/teams/AU_Projects/Dashboards/Controlled%20Docs/Date%20Format...

 

I am not sure if this is the best way to sahre as I can not attach a file..bit in this sample you can see the original dates when converted to datevalue reverses some dates from dd mm to mm dd 

Hi @Chippy 

 

I can't access that, it requires a login to your system.

 

You can put the file on OneDrive, Google Drive, Dropbox etc and then share the link to it.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


ok, 

Chippy
Frequent Visitor

Which email do I share the onedrive link with?

@Chippy 

 

I get this when I try to login and access that file

 

PhilipTreacy_0-1726791742286.png

 

I am the Admin for my company.  No idea what it is going on about but it seems your org blocks 'at risk' users whatever that means.

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Can you try again as I changed your access to Edit

@Chippy 

 

As we are both online now, can you put the file somewhere public, send me the link, I'll download it, then you can delete the file?

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@Chippy 

 

Same, account is blocked



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@Chippy 

 

You can just share the link here?

 

I'll PM you my email, check your messages on this forum.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

Hi @Chippy 

 

Use Change Type -> Using Locale then choose a locale that uses the d/m/y format e.g. Australia or the UK

 

PhilipTreacy_1-1726701751099.png

 

NOTE: In this image I've chosen the Data Type : Date, if you want to preserve the time part of your data, choose Date/Time instead

 

PhilipTreacy_0-1726701724512.png

 

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.