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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Get Data using some java script

Hello,

 

I have some  on java script that runs on a salesforce page and produces a html table of the data which can be copied and pasted into excel.

 

Is it possible to use java script to pull the data straight into Power BI and if so please can you post the dummies guide to try 🙂

 

Thanks

Ross

6 REPLIES 6
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

If a table is generated by html, you can try the solution in the following video. Sometimes it hasn't loaded web content completely before Power Query intends to scrab it, so this error occurs. 

CSS not found on new Power BI web connector? 😬- Download 28 - YouTube

 

However, if a table is constructed dynamically with javascript or some other advanced methods, or it's embedded content from other applications, it's difficult for Power Query to scrab its content as there are no valid css selectors to identify the elements.

 

Your webpage seems in the latter scenario. You will need to use other tools to scrab the data. Or if there is any API provided by this website or it's possible to download the data from this page, maybe Power Query can connect to them with other connectors. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

mh2587
Super User
Super User

Then you can pull data through API do some research on that hope you will find the solution


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Anonymous
Not applicable

@mh2587 I've tried that but it doesn't pick up the table in the webpage. Probably, a salesforce restriction

Would you please give the details whats error occure or screenshot


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Anonymous
Not applicable

salesforce.PNG

 

Actually, got the page to come through using Add Table using examples, but no CSS

mh2587
Super User
Super User

You can directly pull data in PBI through web connector in the get data option and just put the html page URL

Conn.PNG


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.