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

Changing parameter in Service leads to missing column error for unused column

I have created a report which get data from different SharePoint sites.
Which SharePoint site is used, is defined by a parameter in the report. 

 

When I try changing that parameter in Power BI Service to use a different SharePoint site, the refresh fails with a missing column error despite the mentioned column never being used.

 

Example below: 

MAVIE_0-1683206152308.png

In this example the error occurs on the "Team LeadId" column, despite the fact that the column is never used in any way or referenced in the Power Query. (Note: Changing the paramater works fine in Power BI Desktop).

 

Has anyone experience this issue, and found a resolution to it? 

1 ACCEPTED SOLUTION

Use the v2 connector and specify a view that has fewer columns. Generally have fewer columns. Use a more robust data store like SQL server.

View solution in original post

7 REPLIES 7
lbendlin
Super User
Super User

despite the fact that the column is never used in any way

Please double check. Might be as innocent as a mention in Table.RemoveColumns.

Hi @lbendlin 

I am completely sure. This report is run on many different SharePoint sites, and the columns that fail are different depending on the site that it was loaded on before it was published. 

 

My suspission is that Power BI Service saves some metadata about which columns are in the report, (even if they are not used) and that this is the reason why changing which SharePoint site is used fails (in the Service only). Though I do not know for sure if this is the reason.

Ah, i missed the SharePoint part. Your lists likely are too wide (too many columns) and Power BI is randomly dropping columns.

Oh interesting, the tables can indeed become really wide as the power query is quite flexible with what is accepted. I haven't noticed dropped columns in the desktop, but are you suggesting that unused columns might be dropped from the datasets when uploaded to the service? 

I didn't say "unused" - I said "random"...

Alright. Well are you aware of any solution to this issue?

Use the v2 connector and specify a view that has fewer columns. Generally have fewer columns. Use a more robust data store like SQL server.

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.

Top Solution Authors
Top Kudoed Authors