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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
UK_User123456
Resolver I
Resolver I

Refreshing data sets

Hi All,

 

I have just come across this, I have had to add in an extra column into my csv data set, but when I go to refresh my data in power query, it doesnt seem to add in the new column, but will refresh the data set.

 

Is it a case of having to delete the old table in power query and then re-import the data set with the updated csv file, if this is the case, is it not an oversight from microsoft as surely I am not the only one who would need the data set to refresh if a column is either added or taken away in the raw data set?

 

Any help would be much appreciated.

 

TIA

1 ACCEPTED SOLUTION

OK I think I see what's going on here. If you click on the "Source" step in your query you will notice that when you first created your query that it hard coded the number of columns. Manually increasing this number by the number of columns that you added is one way of working around this issue in the short term

 

2019-07 csv columns.png

I'm not sure why the refresh preview button does not do this itself as I think it should.

View solution in original post

4 REPLIES 4
d_gosbell
Super User
Super User

Power Query caches a preview of your query to make it faster to work with, but sometimes if you change the underlying source data it's not immediately visible. The way to fix this is to click on the "Refresh Preview" button in the Home ribbon while in the Query Editor.

Thanks for comming back to me, I did click on "Refresh Preview" but it wasnt updating or fetching the new columns, any other ideas?

OK I think I see what's going on here. If you click on the "Source" step in your query you will notice that when you first created your query that it hard coded the number of columns. Manually increasing this number by the number of columns that you added is one way of working around this issue in the short term

 

2019-07 csv columns.png

I'm not sure why the refresh preview button does not do this itself as I think it should.

Hi, @d_gosbell, looks like that will need to be the answer for now. Helps alot rather than having to re-import the csv file each and everytime a new column is added or taken away.

 

Thanks

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.