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
HarshaK49
New Member

Dynamically Change the data source parameter

Hi,

My data source is an API endpoint (example: http://pie_chart_powerbi/company1 ), where "company1" is a parameter that needs to be changed dynamically (i.e. company2, company3....companyN). I want to achieve this through an embedded URL in Power BI by passing the parameter.

Binding the fields to the parameter option is not available in the properties of the model view.

Please provide guidance or examples on how to pass this parameter dynamically through an embedded URL to ensure seamless integration with my reports.

 

Thanks

2 ACCEPTED SOLUTIONS
shafiz_p
Super User
Super User

Hi @HarshaK49  Binding parameter option is available for Direct Query. Read this article:


Desktop dynamic m query parameters 

 

If you want to change parameter for API request from report page, you can do this using Edit parameter. See the earlier post here:

 

Power Bi change value of the parameters used in web request api 

 

 

Hope this helps!!

If this solved your problem, Please accept it as a solution!!

 

 

Best Regards,
Shahariar Hafiz

View solution in original post

Anonymous
Not applicable

Hi @HarshaK49 ,
Thanks for shafiz_p reply.
You can also try using query string parameters. With query string parameters, the model author can let the report viewer set the value of the query parameter using filters or slicers
Filter a report using query string parameters in the URL - Power BI | Microsoft Learn
Solved: Passing Parameters Dynamically in Power BI Embedde... - Microsoft Fabric Community


Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @HarshaK49 ,
Thanks for shafiz_p reply.
You can also try using query string parameters. With query string parameters, the model author can let the report viewer set the value of the query parameter using filters or slicers
Filter a report using query string parameters in the URL - Power BI | Microsoft Learn
Solved: Passing Parameters Dynamically in Power BI Embedde... - Microsoft Fabric Community


Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

shafiz_p
Super User
Super User

Hi @HarshaK49  Binding parameter option is available for Direct Query. Read this article:


Desktop dynamic m query parameters 

 

If you want to change parameter for API request from report page, you can do this using Edit parameter. See the earlier post here:

 

Power Bi change value of the parameters used in web request api 

 

 

Hope this helps!!

If this solved your problem, Please accept it as a solution!!

 

 

Best Regards,
Shahariar Hafiz

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.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join 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.

Top Solution Authors