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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.