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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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