Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper I
Helper I

Extract Value from list of records if ID matches

Hi All,


Could you please help me out from the following situation?

Lets suppose I have data with two columns. The first column contains the ID and second column contains the list as follows


In the list, there can be multiple or no json records as follows




If I click any of the above record, then I get following json as follows



If I click on the third row lets say its key is mykey, then It is also a record and may contains the same ID that was in the first ID column as follows


 Here I want to get the value of unit for that particular record in which mykey id matches with the id in the first column, if it did not match then just return the null.


Could anyone let me know how I can make a custom column to have unit value where first column ID matches with the ID in the list of records?




Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors