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
andrearuggeri
Helper I
Helper I

Data source with different number of columns

Hello,

I have this tricky scenario and please I need some advice to find the best solution.

 

I need to build a report with some visuals based on an MS Excel data source I get from an online tool we use to collect data.

Every week we need to download the new data and update the PBI report with the new data source

 

The problem is that, depending on the collected data, the number of columns may be different, there are some columns that one week are in the report and the other week are missing.

 

What is the best approach to manage the whole thing, according to your experience?

 

Thanks a lot!

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @andrearuggeri 

Honestly the best thing would be to make sure that you have the same number ofcolumns with the same names every time you get new data.

Otherwise you may end up with transformations in Power Query that refer to column names that do not exist or other such problems.

Depending on exactly what you are trying to do in PBI, you may or may not be able to deal with such issues but really avoiding them in the first place is the best thing.

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!


This is exactly my problem, I can't grant the exact number of columns every time...

 

I tried with an append query and it correctly adds new columns, but I frequently get format issues.

 

I was wondering if an easier approach exixts, since I had no such problems with other tools like Zoho, where I can append data and everything is managed automatically.

 

Thanks a lot

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.