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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
KDeRoo
Frequent Visitor

Date in PowerBI 1 Day Off From Data Source

I work for a non-profit, and we've created some PBI dashboards to report on our donations received. There is something odd going on with the gift dates shown in the PBI dashboard compared to the gift dates in the database it's reading from. 

 

When I compare the data source (our actual databse) to the PBI dashboard side by side, the gift date is off by 1 day on all records. PBI is showing the gift date as one day later than the date in our database. This baffles me, since the dashboard is reading directly from our database. When I look at the data table view of my query in PBI Desktop, the date is off there already, so it's not in the visualization, but somewhere in how PBI reads the date from our database. 

 

The data type on the GiftDate field in our database is date (not date/time), and so is the data type of the GiftDate column in the PBI query. Super weird. 

 

Thoughts on how to fix this?

1 ACCEPTED SOLUTION
ChrisMendoza
Resident Rockstar
Resident Rockstar

@KDeRoo you mention database, do you mean like SQL Server etc.? It is likely that the database is recording in UTC and you need to convert the date & time to (even though you mention no time is recorded; it's 0:00:00). I do find it odd that you say "all records" though because depending on how far off of UTC you are I would imagine you'd see some that "line up".

In any case, try to convert the time in Power Query then loading that into your data model.






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

2 REPLIES 2
KDeRoo
Frequent Visitor

Sorry it took me a while to get back here to respond... you were absolutely right, it had to do with the time conversion. Once I figured that out, everything matches up again.

 

Thanks!

ChrisMendoza
Resident Rockstar
Resident Rockstar

@KDeRoo you mention database, do you mean like SQL Server etc.? It is likely that the database is recording in UTC and you need to convert the date & time to (even though you mention no time is recorded; it's 0:00:00). I do find it odd that you say "all records" though because depending on how far off of UTC you are I would imagine you'd see some that "line up".

In any case, try to convert the time in Power Query then loading that into your data model.






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.