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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SevsBo
Resolver III
Resolver III

API call results in part-populated columns with "Record" in them. I need all available expanded.

We're bringing some data in via API, and it's a process and a half to get it in.

 

When data is ingested, it's first a list, and the list expands into a table:

SevsBo_0-1762795825762.png

 

That is then converted to a table:

SevsBo_1-1762795874559.png

 

That can be expanded into a full table, but this is where the problem starts:

SevsBo_2-1762795930457.png

 

All of those "Record" items can be expanded into two columns, but because there are gaps in the data, we cannot expand the whole column at once. There are no arrows at the column header to do so.

 

We know some of the data is blank, this is fine, but we need to see the expanded columns for every Record item. Is this possible?

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @SevsBo 

 

As suggested by @lbendlin  you can use Value.Is to check if the column contains a record and then extract the data, like so

 

if Value.Is([business_service], type record) then [business_service][ColA] else ""

 

Alternatively you can use the optional field selector '?' to do the same

 

= [business_service][ColA]?

 

In both cases you will need to create Custom Columns and then delete the original  business_service column.

 

PhilipTreacy_0-1762820137251.png

 

 

Download example PBIX file here with both approaches

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @SevsBo 

 

As suggested by @lbendlin  you can use Value.Is to check if the column contains a record and then extract the data, like so

 

if Value.Is([business_service], type record) then [business_service][ColA] else ""

 

Alternatively you can use the optional field selector '?' to do the same

 

= [business_service][ColA]?

 

In both cases you will need to create Custom Columns and then delete the original  business_service column.

 

PhilipTreacy_0-1762820137251.png

 

 

Download example PBIX file here with both approaches

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


lbendlin
Super User
Super User

Value.Is   is your friend here.  You need to probe if [Business_value] is of type Record or of type null.  In the latter case you need to provide a dummy blank record that can be expanded just like the actual record.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.