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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
helenn
Helper I
Helper I

Excel table imported into PowerBI how to add new columns from updated, original file

I have an Excel table which I have imported into PowerBI. I updated the original excel file adding new columns, how do I get the new columns to show in PowerBI. I dont want to start from scratch. I have tried refreshing the data and updating the data source

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

@helenn 

Great, glad to hear it's working.  Please mark this as solved so others can benefit.

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

11 REPLIES 11
Syndicate_Admin
Administrator
Administrator

If you had it imported, you can go to add editor, and you just have to modify the number of columns to load and that's it.

PhilipTreacy
Super User
Super User

@helenn 

Great, glad to hear it's working.  Please mark this as solved so others can benefit.

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PaulDBrown
Community Champion
Community Champion

@helenn 

What is recommended (and to follow up on @PhilipTreacy suggestion), is that you set up your data in Excel as actual tables (as opposed to simple columns and rows). To do so, select all the columns and rows and press
"ctrl + t".
This creates a table containg all the rows and columns. If you then add columns or rows to your data, Excel will automatically include them in the table (as long as these are adjacent to previous rows/columns).

(Apologies since my Excel is in spanish). Once you have set up the table, go to the "Table design" tab, and name the table (in my example you will see I've named it "sales" under the header "Nombre de la tabla" or "Table name".

This will make it easier to identify the table on import into PowerBI.

 

Table.JPG

 

When you then select the Excel file for import, you select the table ("Sales") as opposed to the sheet (in my example the sheet's name is "Actuals").

Import.JPG

 

This way if you add further columns/rows to your table in Excel, PowerBI will import them automatically on refresh.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






thank you this has worked

PhilipTreacy
Super User
Super User

Hi @helenn 

OK then all you shoudl need to do is click on Refresh on the menu to reload the table with the new columns

refresh.png

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


helenn
Helper I
Helper I

 I did exactly as you indicated,  no transforming at the end. Then later I updated the excel file with the additional columns

PhilipTreacy
Super User
Super User

Hi @helenn 

How exactly did you 'bring the file in'?

What you should do is from inside PBI  click on the Excel icon in the Data section,

import-excel.png

browse to your file, then select the table you want (this sample image shows multipel tables in a file)

excel-tables.png

 

Then click on Transform Data to make modifications to the imported data,or just click Load to load it into PBI.

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


helenn
Helper I
Helper I

2020-12-08_13-48-09.png

helenn
Helper I
Helper I

Sorry just reread the message, the table in Power BI has 12 columns, my excel has an additional 8 that I added after I had first linked the table

 

helenn
Helper I
Helper I

Thanks Phil

I dont have any queries set up, I just brought the Excel file in and worked from there

How do I share the file?

 

PhilipTreacy
Super User
Super User

Hi @helenn 

If you've imported the file into PBI then refreshing the query should bring in any changes to PBI - unless you've done something in your query to prevent this.

Can you please share the query and the table structure - how many columns does it have??  A screenshot of the top of the table will do.

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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