The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello community,
I am trying to extract data from a .html file using PQ. The file is not structured as a table which means I have to go looking in different <div> containers. I am experiencing having to drill into 15+ tables before maybe reaching relevant data.
Does anyone have some tips on how to do this? Drilling to 'end' or searching inside the containers? I am kind of out of ideas
Solved! Go to Solution.
Turns out using PQ for Excel was a bad idea in this case - I have now switched to PQ for PBI and am having no issues unpacking this.
Turns out using PQ for Excel was a bad idea in this case - I have now switched to PQ for PBI and am having no issues unpacking this.
Hi @Anonymous ,
Could you please use the Html.Table function to get table data? Could you please share your example code?
Best Regards,
Winniz
I have tried this out but am unsure how to apply it.
Consider this table
Caption | Source | Data |
Element | HTML | Table |
If I do Html.Table([Data]) I get an Expression.Error saying 'Html.Table' wasn't recognized.
Am I going about this correctly?
Thank you for your reply I will test this out later and (hopefully) come back to mark as a solution
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
180 | |
53 | |
40 | |
28 | |
26 |