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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
BIlix
Helper II
Helper II

Help with a html file that contains varying amount of Tables

I have a html file that has multiple tables. The number of tables can change everytime the file is updated and they all have the same structure. 

 

I want to ensure that all tables are loaded, even if the number changes

 

Thanks in Advance

1 ACCEPTED SOLUTION

When you have imported that HTML to this stage

dufoq3_0-1709557221050.png

 

Add this to at the end of your code (replace Your_Previous_Step)

    FilteredRows = Table.SelectRows(Your_Previous_Step, each ([Source] = "Table")),
    Data = Table.Combine(FilteredRows[Data])
in
    Data

 

Result (it will combine all filtered tables dynamicaly)

dufoq3_1-1709557248659.png

 


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

View solution in original post

4 REPLIES 4
BIlix
Helper II
Helper II

https://we.tl/t-XCCGCyNJrU

 

A dummy file with 3 tables. But as i mentioned it could be more or less tables

When you have imported that HTML to this stage

dufoq3_0-1709557221050.png

 

Add this to at the end of your code (replace Your_Previous_Step)

    FilteredRows = Table.SelectRows(Your_Previous_Step, each ([Source] = "Table")),
    Data = Table.Combine(FilteredRows[Data])
in
    Data

 

Result (it will combine all filtered tables dynamicaly)

dufoq3_1-1709557248659.png

 


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

I got it, thanks a lot!

dufoq3
Super User
Super User

Hi, could you provide that html file (i.e. with dummy data).


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors