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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Breaking out table of tables

I'm new to PowerBI, I wrote a Python script to query and transform some data. The result is a table of tables where each row is a separate dataframe. This is what it looks like.

roberthedfna_0-1691516737324.png

How can I split out the tables so that the query returns all 8 tables separately.

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, if you want to get the seperate tables in the above table, simply create blank queries and modify the syntax in advanced editor like this:

 

let
    Source = #"Table"[Custom]{0}
in
    Source

 

Create eight queries and replace {0} with {1} to {7}. I attach my sample below for your reference.

 

let
    Source = #"Table"[Custom]{0}
in
    Source

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, if you want to get the seperate tables in the above table, simply create blank queries and modify the syntax in advanced editor like this:

 

let
    Source = #"Table"[Custom]{0}
in
    Source

 

Create eight queries and replace {0} with {1} to {7}. I attach my sample below for your reference.

 

let
    Source = #"Table"[Custom]{0}
in
    Source

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ToddChitt
Super User
Super User

Duplicate the table as many times as you have tables. Filter each one ona different value of [Name], then for each, click the underlined word Table in [Value] column.

 

Just out of curiosity, were you not able to use any of the various Get Data source types? Seems Python is an end-around to something that Power BI already probably handles natively.

 




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors