Showing results for 
Search instead for 
Did you mean: 
Not applicable

Single PowerBI Embedded API to call separate reports based on condition

Hi Folks,

               We have an existing Power BI Rest API being used by a third party to call a Power BI Report. There is a new requirement from the same third party vendor to call a different Power BI report based on a set of criteria for a separate user group. My question is, can we modify the existing PowerBI Embedded Rest API to switch the report based on additional criteria passed by third party (Example: If a field called Group with value "A" is passed instead of "B", then show report A, otherwise show report B). Or, do we need to create separate Power BI Rest APIs for each power BI report and write the logic to view the report based on respective groups on the third party solution file.




Solution Sage
Solution Sage

Hi @Anonymous 


I think you don't need to create another REST API . As you already mentioned you can parameterize and have a condition to show based.


Withthis you have very small changes to your code and avoid duplications too.

Helpful resources



We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!


The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors