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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.