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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

@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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.