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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
dgmush
New Member

import folder with multiple HTML files

Hi All, 

I've searched the forum thoroughly, but I haven't found what I need 😞

 

I need to import a folder where I have several .htm files ( 15-30 files)

I have understood that there is a connector for folder ( but doesn't read correctly my htm files)

If I use web connector...I can import just one htm file a time

of course all htm files have the same structure,  that I would like to append all togheter.

 

Any comment/suggestion would be helpful!

I really appreciate any help you can provide.

Diego

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dgmush ,

 

(1) You can convert html file to csv file, then get data select folder connector, select combine and load.

(2)(1) You can get data to select the folder connector, then add custom columns, expand the custom columns, split the [html] columns based on commas, and use the first row of data as the column headers.

 

= Table.AddColumn(Source, "Custom", each Table.AddColumn(Source, "html", each Text.FromBinary([Content], BinaryEncoding.Base64)))

 

vtangjiemsft_0-1701242289359.pngvtangjiemsft_1-1701242439856.png

vtangjiemsft_2-1701242657897.png

 

 

You can refer to the following posts that may be helpful to you:

Get data from htm file to Power BI - Microsoft Fabric Community

How to display HMTL file content via Powerbi deskt... - Microsoft Fabric Community

 

Best Regards,

Neeko Tang

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

1 REPLY 1
Anonymous
Not applicable

Hi @dgmush ,

 

(1) You can convert html file to csv file, then get data select folder connector, select combine and load.

(2)(1) You can get data to select the folder connector, then add custom columns, expand the custom columns, split the [html] columns based on commas, and use the first row of data as the column headers.

 

= Table.AddColumn(Source, "Custom", each Table.AddColumn(Source, "html", each Text.FromBinary([Content], BinaryEncoding.Base64)))

 

vtangjiemsft_0-1701242289359.pngvtangjiemsft_1-1701242439856.png

vtangjiemsft_2-1701242657897.png

 

 

You can refer to the following posts that may be helpful to you:

Get data from htm file to Power BI - Microsoft Fabric Community

How to display HMTL file content via Powerbi deskt... - Microsoft Fabric Community

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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