Forum Discussion

maasool's avatar
maasool
Helper I
3 years ago
Solved

Get data from web with table inside table inside table...

I'd like to get bond data from the Frankfurt Exchange web. Here is a link to the table and pic from the data I'm interested in: https://www.boerse-frankfurt.de/bond/xs2502401552-plusplus-capital-financial-s-a-r-l-11-22-26/price-history/historical-prices-and-volumes

 


If I open this link in power query I see the attached view:

If I expand the data column to the end, I can't reach the data in the table present in the web (like closing prices of the bond):


Suggestions how to get the data?

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi maasool - It appears that you are using Excel Power Query instead of Power BI Power Query.  Unfortunately, there is difference in the capability of the Web.Contents function.  Power BI is more capable at identifying Tables om web pages.  As I try to prepare screenshots to highlight the difference, I am finding the Power BI version much faster than Excel.  The reason is that Power BI has an additional function called Web.BrowserContents.  This feature is only avaiable in Power BI Desktop - not Excel or Power BI Dataflows.

    After pasting the URL into the Power BI Web wziard, you are prompted with the following panel.

    This is the Excel version:

     

     

     

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi maasool - It appears that you are using Excel Power Query instead of Power BI Power Query.  Unfortunately, there is difference in the capability of the Web.Contents function.  Power BI is more capable at identifying Tables om web pages.  As I try to prepare screenshots to highlight the difference, I am finding the Power BI version much faster than Excel.  The reason is that Power BI has an additional function called Web.BrowserContents.  This feature is only avaiable in Power BI Desktop - not Excel or Power BI Dataflows.

    After pasting the URL into the Power BI Web wziard, you are prompted with the following panel.

    This is the Excel version: