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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MWinter225
Advocate IV
Advocate IV

HELP Reformatting M to avoid using Web.BrowserContents() and Html.Table() functions

I'm trying to create a report that uses various web data to track PBI known issues and reported issues. After creating a report using the "add table using examples" feature that allows you to scrape the webpage from a list of your examples, I tried to set up refresh on the service and got an error that both Web.BrowserContents() and Html.Table() are unsupported functions. I created a support ticket and they told me just not to use those functions and maybe they'll fix it if they get enough voes here : https://ideas.powerbi.com/forums/265200-power-bi/suggestions/9312540-make-functions-refreshable-when...

 

The site that is giving me problems is https://community.powerbi.com/t5/Issues/idb-p/Issues . When I tried to workaround this issue by expanding the columns and drilling through all the html I found out that the rows do not align and couldn't figure out a way to get them all to align. Open to any tips on that!

 

I want to know if there is a way to reformat the following M Query to avoid using those two functions.

Tagging @ImkeF because I know you're an M Master. Smiley Happy

let
    Source = Web.BrowserContents("https://community.powerbi.com/t5/Issues/idb-p/Issues"),
    #"Extracted Table From Html" = Html.Table(Source, {{"Issue", ".lia-message-subject"}, {"Date", ".DateTime"}, {"Kudos", ".lia-message-kudos"}}, [RowSelector="[id*=""messageview""]"])
in
    #"Extracted Table From Html"

Link to Report

Any thoughts? 

Matt

1 ACCEPTED SOLUTION
MarkLaf
Super User
Super User

You could just use Web.Contents on the RSS feed: https://community.powerbi.com/oxcrx34285/rss/board?board.id=Issues

 

I'm guessing you it's important you get the kudos count, though?

View solution in original post

5 REPLIES 5
MarkLaf
Super User
Super User

You could just use Web.Contents on the RSS feed: https://community.powerbi.com/oxcrx34285/rss/board?board.id=Issues

 

I'm guessing you it's important you get the kudos count, though?

@MarkLaf It's nice to have the Kudos but I think I gain more with the RSS feed having the direct links to the individual issues! Thanks!

ImkeF
Community Champion
Community Champion

The answer you've gotten from the support ticket doesn't look correct to me: You are using functions from the new "From Web"-experience which is a preview feature. Once it's generally available it should work in the service as well. So you just have to be patient here 😉

Although it's possible to retrieve the data you're after manually, I don't have the time currently to do it unfortunatly.

 

The issue referred to in the ticket relates to using custom functions in the service, which you didn't, as you've used native functions.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

AlexR
Frequent Visitor

It seems that the feature was made GA in the September update of Power BI Desktop (here), however the refresh in the service is still failing.

Where can we find out if this feature is still in preview in the service?

 

Thank you!

Alex

@ImkeF That makes a lot of sense. Thanks! I'm hoping it doesn't stay a preview feature as long as downloading a report from the service has! Smiley LOL

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.