cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
COR2
Frequent Visitor

Multi Select Lookup Column shows as Table in Power Query

I am attempting to build a report from our Sales List in SP Online. One of the columns ("Bid To") is a multi-select lookup column in which we select all of the clients the project bid was snt to. The number of selections range from 1 to 5 or 6.

 

When I query the list, the "Bid To" column is brought in as a Table. There are a couple of other single-select look up columns in the list that were brought is as either a List or as a Record. These were simple enought to expand, however I am stuck on the extracting the LookUp Value(s) from the table.

 

I have been digging through the forums, as well as any video tutorials i can find, but have not found any solutions. I am currently trying to create a custom column and leverage one of the Table, Record, or List Functions but as I am new to Power Bi and M, this is a bit of struggle.

 

The ultimate goal is to be able to report the total amount (both currency and quantity) of bids that were sent to each of the clients.

 

I would greatly appreacite any help I can get.

1 ACCEPTED SOLUTION
COR2
Frequent Visitor

For anyone who runs into this issue:

 

https://www.youtube.com/watch?v=-By3WdkHlLU

 

Text.Combine(Table.ToList(Table.SelectColumns([ColumnWithTables], "TableColumn")), "; ")

 

View solution in original post

3 REPLIES 3
COR2
Frequent Visitor

For anyone who runs into this issue:

 

https://www.youtube.com/watch?v=-By3WdkHlLU

 

Text.Combine(Table.ToList(Table.SelectColumns([ColumnWithTables], "TableColumn")), "; ")

 

COR2
Frequent Visitor

Thank you @v-stephen-msft...

 

I may not have been clear when describing my issue: When I query a SP Online List, the values in one of the columns (a multi-select lookup column) appear in the Pwer Query Editor as "Table." I need to extract the lookupValue from the table to leverage in reports.

 

power-query.jpg

 

When I try to "Expand" the column, the action returns only the first row.

 

I would appreciate any suggestions!

v-stephen-msft
Community Support
Community Support

Hi @COR2 ,

 

I would suggest you try the Group By feature in Power Query.

Grouping or summarizing rows - Power Query | Microsoft Learn

vstephenmsft_0-1669355387034.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors