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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
GunnerJ
Post Patron
Post Patron

How to display HMTL file content via Powerbi desktop

I have an HTML file saved on an app server and when I "GET DATA" and choose folder and then enter the path I can only display the name of the path. I want to essentially execute the file and fun it within Powerbi. Am I using the wrong "GET DATA" source or maybe not using the correct visual? 

 

Any help at all would be appreciated.


Thanks

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @GunnerJ ,

 

It's not able to connect the html file currently. 

 

As a workaround,  you could store HTML into a file, then, store file path with binary datatype. Loading data into Power BI desktop, you would get a column (named as Column1) listing HTML file path like C:\Users\username\Desktop\filename.txt, then, you could add a custom column in Query Editor mode with below M code:

Custom column=Web.Page(File.Contents([Column1]))

Based on above steps, expand the new custom column, you can get the desired html table.

 

Community Support Team _ Dina Ye
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

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @GunnerJ 

 

Could you tell me if your problem has been solved? If it is,kindly mark the helpful answer as a solution if you feel that makes sense. if not, please share more details about your question, I'd like to provide further support. thanks!

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
v-diye-msft
Community Support
Community Support

Hi @GunnerJ ,

 

It's not able to connect the html file currently. 

 

As a workaround,  you could store HTML into a file, then, store file path with binary datatype. Loading data into Power BI desktop, you would get a column (named as Column1) listing HTML file path like C:\Users\username\Desktop\filename.txt, then, you could add a custom column in Query Editor mode with below M code:

Custom column=Web.Page(File.Contents([Column1]))

Based on above steps, expand the new custom column, you can get the desired html table.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors