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
Anonymous
Not applicable

Expand Values - Records and Lists

I need to be able to expand the all of the values within the column of the query without making a new table. Right now there is only one list and all others are records (this will change as more data is added). When the "Records" are expanded they are "null". The only way i know to expand the "List" is to select only "List", right-click -  Drill Down - To Table - and then expand, which will give me the full text for the List. But, this action removes the connection to the original table.

 

How do I expand all values: "Records" and "Lists" so that they remain in their original table column titled: "Value"?

a3.jpg

1 REPLY 1
ImkeF
Super User
Super User

You have to transform the record and lists into a common format (or if you're really sure that records can be ignored, turn them into lists).

This blogpost describes the general technique: https://www.thebiccountant.com/2017/07/25/how-to-expand-a-column-that-cannot-be-expanded-in-power-bi...

 

But in general I'm a bit suspicious when I see such a scenario. Often it means that these are very different data that should be channeld into 2 different tables. So again, if the records are all null and should be ignored, you can just add a condition that returns an empty list instead.

 

 

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

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.

Top Solution Authors
Top Kudoed Authors