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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cristianml
Post Prodigy
Post Prodigy

Error refreshing Date table

Hi,

 

I have an issue when I refresh Power query tables. When I change the Data Type to Date and then when I refresh it come back to "text".

How can I fix this?

 

period text error.png

1 ACCEPTED SOLUTION
edhans
Community Champion
Community Champion

That is the Power Pivot window in Excel, not Power Query. You should not (and often cannot) transform data in Power Pivot's window. You should use Power query. The format changer in Power Pivot is mostly a visual thing, not actually changing and validating the data type. 

See here for info on creating a dynamic Date table in Power Query. You can use the same article to create a static one where you select the start and end dates.

 

Then load that date table into the data model, open Power Pivot, make this the Date table, and keep going.



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!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Community Champion
Community Champion

That is the Power Pivot window in Excel, not Power Query. You should not (and often cannot) transform data in Power Pivot's window. You should use Power query. The format changer in Power Pivot is mostly a visual thing, not actually changing and validating the data type. 

See here for info on creating a dynamic Date table in Power Query. You can use the same article to create a static one where you select the start and end dates.

 

Then load that date table into the data model, open Power Pivot, make this the Date table, and keep going.



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!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors