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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Power Query

Suppose I have 500 tables and I need to expand those tables and need to apply the same query to all those tables, So how can we do that. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 

 

If you have aggregated all table in one query table, you can expand all tables then create a query on the expanded step, however this could take sometime if you have huge amount of data/

Vpazhenmsft_0-1634003821630.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

 

If you have aggregated all table in one query table, you can expand all tables then create a query on the expanded step, however this could take sometime if you have huge amount of data/

Vpazhenmsft_0-1634003821630.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

AntoineTRICHET
Resolver III
Resolver III

Hi @Anonymous 

You can use a function. But charging 500 tables in a Power BI is maybe to ambitious (performances and dataset size limit). If your 500 tables have the same structure you can combine your tables (native functionnality : https://www.youtube.com/watch?v=RAmSdxt863s) to get one unique table (with more rows but common columns). Combining the table will create a function and you will be able to add steps done by this function during the combination of the table (such as expanding those tables and apply common transformation).
I hope it will help you.

Please accept it as a solution if it answers your question

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.