Forum Discussion
dgwilson
5 years agoResolver III
Extracting Title from SharePoint Online list
I'm trying to extract the title from the Record in the Modified By column of a SharePoint list. I'm accessing the SharePoint List using Power BI Desktop October release and the new Beta 2.0 connecto...
- 5 years ago
Hi David,
To summarise, if you want to extract the title directly from the List use this code
#"Added Custom1" = Table.AddColumn(#"Added Custom", "Modified By", each try Record.Field([Outcomes Manager]{0}, "title") otherwise "")To extract the Record from the List use this code
Transform = Table.TransformColumns(#"Added Custom", {{"Outcomes Manager", each if Value.Is(_,type list) then try _{0} otherwise "" else [title = "not assigned"], type record}} )NOTE: I've put a try..otherwise in there to allow for an empty list.
Examples of both of these are in this PBIX file.
Cheers
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.
PhilipTreacy
5 years agoSuper User
Glad to help
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.
dgwilson
5 years agoResolver III
Which post would you like me to accept as the solution?
If you summarise in a post I'm happy to accept that one.