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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mrjizz
Frequent Visitor

Convert Dynamic URL to Static Power Query

I possess a dynamic URL in the format:

 

 

 

mrjizz_0-1716172510107.png

How can I transform this into a static URL within Power Query?

 

11 REPLIES 11
lbendlin
Super User
Super User

Please follow the documentation

Web.Contents - PowerQuery M | Microsoft Learn

use RelativePath and Query options.

I'm new to this, could you please tell me which part of my URL is Querry?

Query parameters are listed after the question mark in the URL. Your URLs don't have that, so in this particular case you only need RelativePath ( everything after the Site URL ).

Using the above method to switch to Static URL introduces authentication problems on the path. This is not an issue with Dynamic URL. 

mrjizz_1-1716186109157.png

 

 

Clear data source permissions and select the right method - Microsoft account. In the service that is called OAUTH2.

Is Web.Content required to be public data? I mean that my data needs to be private.

Web.Contents is just the name of the connector.  It can access any http(s) based data source.

Any solution for private data?

 

Your question is not clear to me. Please elaborate.

Is there any way to convert paths with private data?

mrjizz
Frequent Visitor

I've confirmed that all items within the square brackets [] are dynamic data. I've assigned them to variables and followed the method you described, but I'm still encountering issues.

mrjizz_0-1716193066222.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.