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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.