Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Experimenting with Web Import and really like how easy it is to transform data pulled from the web, but I'm not seeing how to instruct Power BI to click through to detail or child pages from a list of hyperlinks on a page.
Can it do this?
List Page (imports, no problem)
- Item 1 detail page, linked from list page (how do I get this imported?)
- Item 2...
Hi @Scott,
We can click the top right expand button to expand all or just click one "Table" hyperlinked value.
There is a blog introduce get data data from web page, you can take a look: Web Scraping in Power BI and Excel Power Query.
Best Regards,
Qiuyun Yu
Thank you, but I don't believe you're answering my question.
There's a hyperlink on page 1, and I want Power BI to click that hyperlink during it's import procedure, and then grab data from the underlying page, and place it in a column along with data from page 1.
@Scott my expectation is that you would have to specify the URLs and the steps within Power Query to combine that data. So you would, ahead of time, need to know that there was an additional sub-page which you needed to get data from and hand code your Power Query to grab those sources separately then state how you wish to join them.
Thank you @Anonymous.
Can you give me an example on how this would be done? I have the URLs in a table already. I just don't know how to "drill down" into each automatically and grab a specific piece of data on the linked page.
The data I want to grab is formatted consistently: 10 char, begins with ABC123
What I want is a column populated on my table with ABC123.... from each URL.
Hi @Scott,
Assume one column already contains a URL of subpage, you can add a column use Web.Contents() function like below, then click Binary to retrieve subpage data.
Best Regards,
Qiuyun Yu
Hi @v-qiuyu-msft,
It looks like Web.Contents communicates with APIs, but can it scrape a piece of data from the underlying page?
How would I grab ABC123.... from the html on the underlying page?
Start by treat each web page as if it stood alone. This method means that you, ahead of time, know each web URL and will be configuring it manually per page.
This tutorial should help you get used to pulling the data in.
Once you bring in each page, they will be separate tables. From here you need to do table merges, assuming you can find a way to relate the data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.