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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.