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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

PowerBI Report Integration using Javascript - error

Hello All,

I am doing a PoC for integrating the PowerBI Report into simple HTML Page.I have take Power BI Javascript Example from GitHub and below is the screenshot of  the problem that i am facing. Basically I have a Java Portal into which i need to do Integration.Further to this i am also looking for the row-level security.

Error.PNG

Thanking you in advance,

Regards,

Shraddha 

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @Anonymous,

 

If you are embedding to Power BI users (user owns data), RLS works the same as it does within the Power BI service directly. If you are embedding for non-Power BI users (app owns data), you need to follow below links to embed report: 

 

https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security

https://github.com/Microsoft/PowerBI-Developer-Samples/blob/master/App%20Owns%20Data/PowerBIEmbedded_AppOwnsData/Controllers/HomeController.cs

 

Best Regards,
Qiuyun Yu