Showing results for 
Search instead for 
Did you mean: 
New Member

How to Expand automatically in columns, (lists + records) in different levels


I would like to expend in one time automatically all lists and records of the Database. Is there any function that allows to do that please ? We are used to adding data and colums on our database and each time we have to expend the columns manually in power Query and so it starts to be painful. So i would like to use a function that's expends all columns il records and list in one click.


Here's a look of the Data from the source in Power BI  : 


Now, we have to access to issues records, so the next look is : 


After, we have to develop issues fileds : that contains simple columns, lists and records :


Theses new fields must also been developped.


If we do it manually , we have like 20 steps of developping the diffrents fields !!  It a huge waste of time! And every time, when we charge other data, we have to do it from scrath ! 


Would you held please to find a solution for this !


Thank you very much

Best Regards

Solution Sage
Solution Sage

This should be doable but it is a little tricky. If it was all nested records, it is easier. When you expand your data, how do you handle Lists? do you expand to new rows? or just extract the values? Also, do the lists include more records and lists?


Is your data coming in as JSON? Can you share some example/mock data?




Microsoft Employee

@ppm1 Hey thank you for the reply !

Iam working on it since yesterday, and it seems very difficult ! 

can you implement the solution if you think it's doable ?

Every time, i use the expand icon, to extract all the values but it takes really a lot of time to do because of records and lists nesting !

I can't share the data because it cames directly from Jira via a connection, so i don't really have a file !

Thank you in advance for your help



Making/finding a test data set would take time I'm not sure I'll have. Was hoping you could modify a few rows of your input JSON data so it could be shared. Also, you didn't answer the questions around how you handle lists while expanding the data (expand vs. extract, and do they include nested lists/records).



Microsoft Employee

Helpful resources

Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors