Forum Discussion

MarCat's avatar
MarCat
Regular Visitor
4 years ago
Solved

Get Data 'From Web' not showing all columns

Trying to retrieve data (Get data) 'From Web' https://en.wikipedia.org/wiki/List_of_nearest_stars_and_brown_dwarfs.    When I select the second HTML table 'Known star systems within 20 light-years....
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi MarCat ,

     

    Could this code return correct table?

     

    let
        Source = Web.BrowserContents("https://en.wikipedia.org/wiki/List_of_nearest_stars_and_brown_dwarfs"),
        #"Extracted Table From Html" = Web.Page(Source),
        Data = #"Extracted Table From Html"{1}[Data]
    in
        Data

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • MarCat's avatar
    MarCat
    4 years ago

    Yes, that worked.  However, having said that, it hardly makes using Power BI any friendlier.  Power BI works great for simple stuff, but any time you're faced with a real-world problem it doesn't seem up to the task, which is kind of really disappointing.  Anyways, thanks for your time and support, that's really appreciated and makes using this community part of Power BI really worthwhile.