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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nihal2001
Frequent Visitor

Set Parameter for parametrized report in Power BI Embedded

I am currently working on a Dynamics 365 project, where I need to use Power BI Embedded to embed reports within my clients' environments. We serve different clients across various organizations and environments. The requirement is to embed a parameterized report, which resides in my organization's workspace, into my clients' workspaces. The report will use a dynamic data source for its parameters.

Specifically, I need to know how to dynamically set the report parameters for each client during runtime in Power BI Embedded.

For example, if the parameter "OrgName" is set to "ABC" during the embedding process, the report should reflect the data source corresponding to "ABC."

To meet this requirement, we need the "OrgName" parameter to be dynamically set based on the client accessing the report, as follows:

  • For Client 1, the parameter should be set to "ABC."
  • For Client 2, the parameter should be set to "DEF."
  • For Client 3, the parameter should be set to "GHI."

This dynamic behavior is essential to ensure that each client views data specific to their respective Dynamics 365 environment, without affecting other clients.

So my ask is, how do I set the parameter of the report being embedded in runtime in Power BI Embedded?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @nihal2001 ,

 

Dynamically set parameters for reports in Power BI Embedded. You can use the Power BI JavaScript API to dynamically set embedUrl, access token, and reportId based on the user's workspace and report ID.

Embed content in your Power BI embedded analytics application - Power BI | Microsoft Learn

 

This is the related document, you can view this content:

Solved: Passing Parameters Dynamically in Power BI Embedde... - Microsoft Fabric Community

 

Best Regards,

Liu Yang

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

1 REPLY 1
Anonymous
Not applicable

Hi  @nihal2001 ,

 

Dynamically set parameters for reports in Power BI Embedded. You can use the Power BI JavaScript API to dynamically set embedUrl, access token, and reportId based on the user's workspace and report ID.

Embed content in your Power BI embedded analytics application - Power BI | Microsoft Learn

 

This is the related document, you can view this content:

Solved: Passing Parameters Dynamically in Power BI Embedde... - Microsoft Fabric Community

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.