Problems reading data through API - columns with Text, List and Record types

kemppaik

New Member
Joined
Oct 7, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I'm trying to pull data in through an API. I have been able to successfully connect but having an issue getting at some of the actual content of the data we're looking at.

There are two columns giving us problems: Content and Value

Some of the values in these columns are text others are JSON and come back as List or Records.

I need to get at the values in the list (each of the lists are dynamic, not static).

In this first row value, I need to get the FirstName and Last Name for the "Observer Name" field. When I copy the Value column and transform it JSON, it's a List. When I click on the List it's a "Record" and then when I click on the Record can I see the details.

1728337307164.png



When I expand the List for Observer Name (the first row in the screenshot above) and then make the Record a table I can get these details:

1728337277326.png



For the second row, ("Select Client" row), the record contains a list.

1728337405033.png

When I click on the List and then convert the results to a Table and expand it, I get these results.

1728337528812.png


I then need to filter the list to return the selected = TRUE results.

How can I dynamically accomplish this for all of the different data types in a single column and for all of the different types of content that is available?

Thanks in advance.
 

Attachments

  • 1728337213205.png
    1728337213205.png
    55.3 KB · Views: 9

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,223,871
Messages
6,175,095
Members
452,612
Latest member
MESTeacher

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top