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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
PraveenVeerabh
New Member

dynamic data source power bi Web.BrowserContents

I have extracted the information using the below link. But this link is not working in power bi online.

Source = Web.BrowserContents("https://www.glassdoor.co.in/Salaries/"&sup&"-salary-SRCH_IL.0,5_"&lin&"_IP " & Page & ".htm"),

4 REPLIES 4
Sigma22
New Member

Is there any way possible to extract from below source https://www.ambitionbox.com/reviews/microsoft-corporation-reviews or https://www.ambitionbox.com/salaries/microsoft-corporation-salaries following a chronological order starting with the latest one.

PraveenVeerabh
New Member

Thank you so much for the details. I have been able to construct the link using relative path and query. However when i changed the source to Web. Contents I am not getting any data. Also if change the source Web.BrowserContents i am getting an error.

PraveenVeerabh_0-1659253336471.png

Web.BrowserContents(
"https://www.glassdoor.co.in",
[Query="/Salaries/"&sup&"-salary-SRCH_IL.0,5_"&lin&"_IP " & Page & ".htm"]
),

Not getting the data when i enter web.contents

PraveenVeerabh_1-1659253404103.png

 

v-jingzhang
Community Support
Community Support

Hi @PraveenVeerabh 

 

Dynamic data sources are not supported when you refresh the dataset in Power BI Service. You can convert the Source step into a structure with the RelativePath and Query options with Web.Contents() function. Please refer to the following blogs for more details:

https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power... 

https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-i... 

https://hatfullofdata.blog/power-query-dynamic-data-source-and-web-contents/ 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

otravers
Community Champion
Community Champion

Web.BrowserContents requires a data gateway to refresh in the service, even if it's a publicly available page. Try using Web.Contents instead.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.