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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Ejules
New Member

Person/ People Field in SharePoint List - No Split available

Dear Community,

 

I'm fairly new to Power Bi, trying probably something quite basic 🙈.

 

In the SharePoint List, there are several custom fields which are of the type people/person.

I crawled through Google and community, but neither of the mentioned solutions seems to work (most solutions either go via relationship & user information list or split the content).

 

My problem is it seems to be nested:

Ejules_0-1628673289089.png

--> Whereas for the SharePoint default column the "Split Arrows" are available, as you can see, they are not for this column

--> Looking into it, is somehow is a column with a 'List' inside

--> each List Item seems to have a "Record inside"

Ejules_1-1628673418711.png

And accessing this column, there would be the info:

Ejules_2-1628673507770.png

I akwardly somehow got to extract it like this:

 

#"Hinzugefügte benutzerdefinierte Spalte2" = Table.AddColumn(#"Erweiterte Geändert von zu Email", "Benutzerdefiniert", each Table.ExpandListColumn(#"Erweiterte Geändert von zu Email", "Zugeteilt an")),
    #"Erweiterte Benutzerdefiniert" = Table.ExpandTableColumn(#"Hinzugefügte benutzerdefinierte Spalte2", "Benutzerdefiniert", {"Zugeteilt an"}, {"Benutzerdefiniert.Zugeteilt an"}),
    #"Erweiterte Benutzerdefiniert.Zugeteilt an" = Table.ExpandRecordColumn(#"Erweiterte Benutzerdefiniert", "Benutzerdefiniert.Zugeteilt an", {"email"}, {"Benutzerdefiniert.Zugeteilt an.email"}),
    #"Umbenannte Spalten" = Table.RenameColumns(#"Erweiterte Benutzerdefiniert.Zugeteilt an",{{"Benutzerdefiniert.Zugeteilt an.email", "Zugetailt an: Email"}}),

 

--> However, if the field is empty, I get an error on that row.

 

Thanks for any help,

Kind regards,

Ejules

1 ACCEPTED SOLUTION
Ejules
New Member

ok, I think i solved it, turns out SharePoint List Blank is neither Blank nor null, this causes the issue.
Workaround: Replace Non List Items with null, then it works as expected:

1. Add a Step:

Ejules_0-1628679755816.png

2. in Custom Editor, replace the Step with:

Ejules_1-1628679979998.png

#"New Step" = Table.TransformColumns( #"PreviousStep", {{"YourColumn", each if Value.Is(_,type list) then _ else null}} ),

3.  Normal Split is now available:

Ejules_2-1628680032724.png

4. 

Ejules_3-1628680073875.png

5. 

Ejules_4-1628680097364.png

 

 

 

 

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@Ejules 
Glad you solved yourself, and thanks for sharing this non-list value issue and the resolution.😋

 

 

Paul Zheng _ Community Support Team

Ejules
New Member

ok, I think i solved it, turns out SharePoint List Blank is neither Blank nor null, this causes the issue.
Workaround: Replace Non List Items with null, then it works as expected:

1. Add a Step:

Ejules_0-1628679755816.png

2. in Custom Editor, replace the Step with:

Ejules_1-1628679979998.png

#"New Step" = Table.TransformColumns( #"PreviousStep", {{"YourColumn", each if Value.Is(_,type list) then _ else null}} ),

3.  Normal Split is now available:

Ejules_2-1628680032724.png

4. 

Ejules_3-1628680073875.png

5. 

Ejules_4-1628680097364.png

 

 

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Top Solution Authors
Top Kudoed Authors