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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Derek-R
Regular Visitor

Get values from the List column

Hi All,

 

I have done Power BI and jira integration usign Rest API's and the data in few columns in the queries store Record and List values. How can I retrieve data from List values?

DerekR_0-1686214310139.png

Thanks 

 

2 REPLIES 2
Derek-R
Regular Visitor

Just adding few screenshots for the explanation:

The Column name is "Components" which has List values and below is the record 

DerekR_0-1686221288226.png

How can I retreive the name from here and store it in a new column in the query?

Thanks

Hi @Derek-R,

I'd like to suggest you add a custom column with nested M query functions.

You can extract the current row as source of following operations to convert it to table. Then you can nest previous result with 'Table.Transpose' to convent the rows to columns and use the first row as table column names.

Transpose table - Power Query | Microsoft Learn

Promote or demote column headers - Power Query | Microsoft Learn

After these steps, you can do expand on this field to expand the transformed table contexts.

Optimize Power Query when expanding table columns - Power Query | Microsoft Learn

Reference documents:

Table.Transpose - PowerQuery M | Microsoft Learn

Table.PromoteHeaders - PowerQuery M | Microsoft Learn

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.