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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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


✔ Answered? Mark as solution

Muhammad Hasnain | Super User • Fabric • Power BI • Data Engineering

Let's connect on LinkedIn
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


✔ Answered? Mark as solution

Muhammad Hasnain | Super User • Fabric • Power BI • Data Engineering

Let's connect on LinkedIn
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


✔ Answered? Mark as solution

Muhammad Hasnain | Super User • Fabric • Power BI • Data Engineering

Let's connect on LinkedIn

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.