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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors