Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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
Solved! Go to Solution.
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.
Reviving old post...
Curious if this has worked for anyone? @v-diye-msft when I use the above formula I receive the error shown below. I have changed the .html file to a .text and receive the same error regardless of file type. My connection is to a Sharepoint folder.
I figured it out. When creating the custom column, I used the below code, then used HTML Viewer visual to view the output.
html_content = Text.FromBinary([Content])
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!
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.