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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
stvcdms
Frequent Visitor

Power Query SharePoint List Error with Allow Multiple Selection on People or Group Field

Hello,

 

I noticed today that if I am trying to connect to a SharePoint list and that list has a People or Group field with the allow multiple selection option enabled, that it causes a null value error. Changing the field to disable allow multiple selection resolves the issue. Has anyone else noticed this or know a way around this?

 

Steve

33 REPLIES 33
loicr
Frequent Visitor

I was looking for the same thing. The best workaround I have found is to expand the field "FieldValuesAsText". It won't help everyone but in my case, it was enough.

Anonymous
Not applicable

Any solution for this issue? 

Sam88
Frequent Visitor

Hi!
is there any news on this topic?

 

I read in other post the possible temporary workaround, filling null values or disableallowing multiple selection.

 

thanks.

best regards.

 

 

Hello - I am still facing this issue.. any fix yet? 

 

Changing API to 14 resolves the prolem BUT as a result the multi-select columns only return the first value, not all of them. So that's not a very useful 'fix'... 😞

Hi @DanielaHo Unfortunately nothing  new what I am aware of - except of changing Sharepoint List configuration 😞

Well the strange thing is that I have a different list with exactly the same column - multi-select choice - and Power BI is handling it perfectly fine!? So it does not seem to be an issue across the board.

Hi @DanielaHo , Just only out of my curiosity, does your list contains Nulls?

In my case conenction Multiple Selection on People or Group Field with Nulls are the issue 😞

 

Regards,

Karo

I am not using people picker columns, no. I did go and populate all cells to ensure there are NO BLANKS but still it is not working... 

 

karo
Post Patron
Post Patron

Any updates regarding this error? It seems that the issue occures since 2015 and still not resolved...

bmcilquham
New Member

Is there any update to this?

If I was to use the OData fix, I don't get columns "Managed Metadata" column types returned.  If I change the "[ApiVersion = 15]" from 15 to 14 it switches me back to SP2010 which doesn't allow me access to "Managed Metadata" column types either.  Setting certain columns to not be null or not multi-select is not an option.

 

Environment:

  • SP2013
  • Power BI Desktop version 2.56.5023.942 64-bit (March 2018)
jup
Frequent Visitor

same problem for me with multi selection columns and even the version column !

I'm still getting this problem. I have a few Person columns that are single selection only and I am able to exapnd those fine. I have one multi select column which shows as a table rather than a record and I get an error when I try and expand it.

 

I just want to get a colon separated list of names like you do when you export to Excel.

 

Very frustrating!

motoray
Helper V
Helper V

Am still running into this issue as of today. Hard to believe it's still not working correctly--the thread is a year old.

Anonymous
Not applicable

Facing the same " We couldn't parse OData response result" error. Is there any way to deal with this? Need to fix it urgently! 

DavidSmith
New Member

I just downloaded this product to confirm that the editor (and problem) is the same as the Power Query engine in Excel 2013, and it is. Those of you changing your ApiVersion to 14 still get an error because the 15 version uses different filtering syntax than the 14 version - the error is with the second line.

 

If you delete the second step and have the query pull from source, you can then visually navigate through the UI to your list and it should work. Or, you can open the advanced editor from a blank query and just paste / replace the default text with this:

 

let
    Source = SharePoint.Tables("https://YourSharePointServerHere.com", [ApiVersion = 14]),
    List = Source{[Name="YourListNameHere"]}[Content]
in
    List

 

The alternative is to learn a little OData syntax and query through ListData.svc, which is a little trickier (but seems to be much more efficient).  Or, you know, maybe have the SharePoint team actually fix the 15 API.  But you shouldn't be holding your breath (or worse, giving up on it!) in the meantime.

same here:

 

i try this:

let
    Source = SharePoint.Tables("https://YourSharePointServerHere.com", [ApiVersion = 14]),
    List = Source{[Name="YourListNameHere"]}[Content]
in
    List

an get this error:

 

Expression.Error: The key didn't match any rows in the table.
Details:
    Key=Record
    Table=Table

 

Changing to [ApiVersion = 14] in Source fixed my problem with the SharePoint List column names not updating to the current column SharePoint title when pulling the list into power Bi. Microsoft should fix this for 15!

 

The problem "Expression.Error:" went away for me if you rebuild the applied steps  in the query editor after the Navigation (default name) step. (Note:  in ThoSch's code step was called List.)

 

rnoone
Helper I
Helper I

Does anybody have an idea when this SharePoint issue will be resolved?

Would love to find a resolution or workaround, stuck on this error myself. Tried the API to 14, once that change is done I can no longer see the task list in availble lists.

Would love to see a resolution as well, cannot seem to work around the error myself.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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