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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Extracting values of List of records by comparison to second list

My data is the following shape (sample): 

 

name   list_of_ids   properties   
AListList
BListList
CListList


The lists in the column list_of_ids look like this (list of ids, not always the same amount) : 

List
4
7
9
3


And the lists in properties contain Records:

List
Record
Record
Record
Record
Record


Each of these Records looks like this:

id   5
name   language
value   en

or

id4
name  language
valuede

or

id1
name   age
value36


My goal is a table where alll the various property names a new columns with empty cells in case there is no value:

name   language   age  level
Aen55beginner
B 60beginner
Cde advanced


Now to my problem: It might happen that for one person (lets say Person A), there are three different Records with information about "language", but with different ids. I only want to abstract the information of the record with an id which is in the list_of_ids for this person. I am still quite new to Power BI and would apprectiate your help very much 🙂 

1 REPLY 1
lbendlin
Super User
Super User

Is your source data JSON or XML?  Can you post a sample?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors