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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ewuchatka
Helper II
Helper II

Add a new column to the existing data set and refresh

Hello

 

I would like to add a new column to the existing data set in Excel and refresh my dashboard.

 

I have already built a dashboard based on the data set and at the moment the only way round it I can see is to build it again from scratch. However, there must be a way round it!

 

Please help 🙂

 

Thank you

 

Ewa

1 ACCEPTED SOLUTION

@ewuchatka It is most likely because you are inserting it into the middle... You can do one of two things.

Easier - put it at the end of the Excel doc, and refresh

Harder - keep it where it is. Go to Edit Queries -> highlight the query you are working with -> Advanced Editor and you will see the M code that is pulling the data. look at how the other columns are being added, and insert your new column in between the columns that are being pulled. Refresh in query editor, close & apply. And you should be good to go.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

27 REPLIES 27

@YOURBEERGUY : I couldn't find the 'column count' at the top of advanced editor, Can you help me with a screenshot of it ?

Thanks in Advance

Anonymous
Not applicable

Top row, after the source file destination and delimiter

 

advanced editor.png

Anonymous
Not applicable

Thank you YourBeerGuy- this did the trick for me!

Yeah, thank you YourBeerGuy. It works from my end as well.

I had the same challenges adding 2 columns to the end of a worksheet. I mirrorred the verbiage in the advanced editor but still got 'column not found' errors.  After some detective work i noticed that there is a 'column count' towards the top of the advanced editor.  When i changed that from 17 to 19 (+2 columns) and added the correct verbaige {"NEW ACCOUNT NAME", type text} or whatever it was, BINGO.  MUST CHANGE THE COLUMN COUNT IN ADVANCED EDITOR

Ah terrific, thanks for that pointer about adding it to the end of the table, I didn't know that. Very helpful.

Seth_C_Bauer
Community Champion
Community Champion

@ewuchatka This should just work... Add the column to the Excel file, save, click refresh in Power BI. The new column should appear.

If you modify a column, then that is a different process.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.