cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Mimi_Ibrahim Frequent Visitor
Frequent Visitor

Checking Date Format from the Source File

Hi Everyone,

 

I'm using Power Bi as a tool to check for data error.

Can you advise how I can check whether the data in the source file (MS Excel) is in DD/MM/YYYY?

 

Currently Power BI automatically detect the date and convert it to dd/mm/

4 REPLIES 4
Moderator v-qiuyu-msft
Moderator

Re: Checking Date Format from the Source File

Hi @Mimi_Ibrahim

 

I would suggest you check data format in Excel file directly. 

In Power BI desktop, when we import data from the Excel file, the date format is based on the regional settings in Power BI desktop: https://docs.microsoft.com/en-us/power-bi/supported-languages-countries-regions#choose-the-locale-fo...

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Mimi_Ibrahim Frequent Visitor
Frequent Visitor

Re: Checking Date Format from the Source File

Thank you Qiuyun Yu, 

 

Are you saying that there is no way that the checks can be done via Power BI?

 

Arjun_SP Frequent Visitor
Frequent Visitor

Re: Checking Date Format from the Source File

@Mimi_Ibrahim 

Not sure if checks can be done. But have you tried using the Datevalue() function

Mimi_Ibrahim Frequent Visitor
Frequent Visitor

Re: Checking Date Format from the Source File

I havent tried using Datevalue() function. But I do noticed if the date format is invalid, it will trigger an error when I refresh the data source. It is a good check, but it can be tricky if there are hundreds of fields to check.

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors