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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dmt10
New Member

Keep power query columns in sync with excel columns

I have used powerquery to combine several tables, perform some basic calculations, and produce an output table which is then loaded into excel. 

 

There are some additional calculations which it is preferable for me to perform outside powerquery - instead just using normal formulas in the columns next to the powerquery output table. 

 

This seems to work, the formulas complete succesfully and produce the expected output. 

 

However, when I refresh the query, I am getting the error "Microsoft Excel can't insert new cells because it would push non-empty cells off the end of the worksheet". I have tried every fix I can find (including deleting 500k outer rows/columns), but no success. 

 

What is the fix for this? What is the recommended way to produce a powerquery output table, and then add additional columns to that output table using formulas entered in excel? 

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @dmt10 

 

I cannot reproduce this error...

See if solutions in this link helps: Can't insert new cells - what what? - Microsoft Community

 

Regards,
Community Support Team _ Jing

edhans
Super User
Super User

You need to add the columns directly to the Power Query output table. Power Query will do its thing on the first X columns, then your 2-3 additional columns in the same table will do their thing. Power Query will automatically delete rows or add rows as necessary, and the Excel Table feature will automatically grow/shrink your forumula coluims accordingly.

Do to it, just start keying your formula immediately to the right of the last column in the PQ table. Do not skip columns in Excel.



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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors