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

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.

Reply
e17aguilar
Frequent Visitor

Datetime values change in Power BI

 

Hello Datanauts!

 

I'm having a problem with some datetime values. Some of these values change it format (and values) I don't know why it happens. Then I can't use this datetime column to make a visual because datetime values does match correctly between columns.

 

Here you can download an image with the data, relationships and a visual.

 

Everything works fine when the datetime values are expressed like "1/6/2016 6:00:00 AM", but I don't know why some of these values (from the same column) change its format (and values) to "2016-10-22T19:59.9990000". (But, I'm only using o'clock hours in the data I'm getting from Excel), it seems Power BI is changing one minute from the datetime value in some rows. When this occurs, I can't display visuals.

 

Other things you may need to know:

- I'm getting all the data from an Excel file (values, not formulas). 

- I'm only using o'clock hours in the data I'm getting from Excel.

- I create the Calendar table in the Query Editor.

- I have the same visual problem when I try to use the datetime column from the Table A in the "Axis" field of the visual.

 

I appreciate all your help to figurate out what's happening and how to correct this.

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @e17aguilar,

 

By my tests, I cannot reprouce your issue with my excel data source in Power BI.

 

If it is, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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