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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
alvenn
New Member

Retrieving data from a table within a cell

Hi everyone!

 

I am new to PowerBI and trying to find my way around. I have a problem maybe some of you can solve. I have one main data data source which is a Sharepoint List, let's call it A. This list has a number of lookup fields into another Sharepoint list, let's call it B. One of those lookup fields in list A can store as value several records of B (list field).

 

When importing list A into PowerBI, the regular lookup fields appear in the transform data screen as "record". When clicking on the header of the column, PowerBI offers me the possibility to select within all the columns that are stored in list B, as showed below, and I can select the information I would like to display in my PowerBI report

alvenn_0-1718202097820.png

alvenn_1-1718202145853.png

 

However, when I try to do the same thing on the field whose information is marked as "Table", after a long time PowerBI reports that no columns were found.

 

alvenn_2-1718202360953.png

 

If I click on the "table" (as it is a hyperlink), I get the following message (I removed the connection info to my sharepoint)

 

alvenn_5-1718203208993.png

 

My best guess is that the default method used to retrieve the data is valid for records, but not for tables. But I have to admit I have albsolutely no clue how to solve this. I have been looking for 2 weeks in the forum and I don't recall to have found anything answering this problem.

 

Can anyone help me to be able to get this data into my PowerBi report?

 

Thanks in advance

 

1 ACCEPTED SOLUTION
alvenn
New Member

Thanks for the answer, but did not work either.

 

In the end, tinkering a bit I find a solution / workaround. I noticed the "Table" fields have another field with an ID, corresponding to the entry in the table. So I created a new table ("C") and performed a query based on that ID to retrieve the data I was looking for in a column. This also has the advantage of not creating new records in my table "A".

 

In case this is of interest to anyone, this is the code I created to get the name of the person, stored in Table "B":

 

Name = LOOKUPVALUE('B'[Name],'B'[Id], 'A'[TEBOberversLookupId])Name = LOOKUPVALUE('B'[Name],'B'[Id], 'A'[TEBOberversLookupId])

 

View solution in original post

4 REPLIES 4
alvenn
New Member

Thanks for the answer, but did not work either.

 

In the end, tinkering a bit I find a solution / workaround. I noticed the "Table" fields have another field with an ID, corresponding to the entry in the table. So I created a new table ("C") and performed a query based on that ID to retrieve the data I was looking for in a column. This also has the advantage of not creating new records in my table "A".

 

In case this is of interest to anyone, this is the code I created to get the name of the person, stored in Table "B":

 

Name = LOOKUPVALUE('B'[Name],'B'[Id], 'A'[TEBOberversLookupId])Name = LOOKUPVALUE('B'[Name],'B'[Id], 'A'[TEBOberversLookupId])

 

christinepayton
Super User
Super User

Is the field that is having the issue a person-type column? If it is, and if you used the 1.0 connector (which is the default), I would try a new query and instead use the 2.0 connector - it's a radio selection option when you connect to the site URL in the connection step. There is a bug with the 1.0 connetor where it is sometimes can't expand person columns properly. 

Thanks for the reply, but no, it is not. It is another List I have with the names and phones of the people.

 

But in any case, I am willing to try the connector suggestion... can I ask how to do so?

 

Thanks!

Yeah, you just connect with the same connector but in the connection step where you enter the site URL there is a radio button that lets you select 1.0 or 2.0. 2.0 is a lot faster, too, so it's generally better to use it--

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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