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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
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
Top Kudoed Authors