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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
philkky
New Member

date error

Error Description:

I am creating a report whose data comes from an Excel spreadsheet with dates for the year 2030.

When I call up the data set in the PowerBi desktop version and the Excel file on the Sharepoint update, the year 2030 is also displayed, as expected.

If I publish the desktop version to the PowerBi Service, the correct year 2030 is also displayed.

As soon as I refresh the data via the PowerBi service, the year 2030 is changed to 1930. This happens both in the report and in the PowerBi Service stored data model.

5 REPLIES 5
otravers
Community Champion
Community Champion

Do you have just a single fact table? I'd add a date dimension table:

https://radacad.com/all-in-one-script-to-create-date-dimension-in-power-bi-using-power-query

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals
Sys-Ing
New Member

The data type is Date

 

otravers
Community Champion
Community Champion

Is the date column using a Date or Datetime type in Power BI? Can you share some screenshots?

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

The date column is using the date format (dd.mm.yyyy).

otravers
Community Champion
Community Champion

I asked you about the data type though, not formatting:

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-data-types

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.