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
Foton83
Frequent Visitor

Refresh data from desktop with Python

Hello everyone,
I have such a problem- I have a script that draws data from the Internet. The way of action is very simple. The script downloads data from the address, e.g." https://123.abc.com/1000". Where by changing the last "1000" element I can move on many pages, e.g. "https://123.abc.com/1002". But to do this I have to enter the editing of the M Power Query code and I would like to do it from the Power Bi Desktop position, e.g. with some icon after pressing which the window would be displayed where I would give the end of the website address. Does this solution exist?

 

 

1 ACCEPTED SOLUTION
Foton83
Frequent Visitor

Hello,

I found a solution. Below I paste the link from the Microsoft website:

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters 

View solution in original post

3 REPLIES 3
Foton83
Frequent Visitor

Hello,

I found a solution. Below I paste the link from the Microsoft website:

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters 

amitchandak
Super User
Super User

@Foton83 , You can use the M parameter and change that

https://learn.microsoft.com/en-us/power-query/power-query-query-parameters

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello @amitchandak ,

Yes, I have a parameter in Power Query, but I need a link to this parameter from Power Bi Desktop, without editing Power Query. As I described I need to change this parameter by calling a window , where I type the end of the address press enter and the data will fetch itself. Alternatively, it would be best for the parameter to be linked to a visualization( table) in Power Bi Desktop.

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.