Forum Discussion
How to config RLS in Power BI Embed using Node.js
Hi, guys!
I am trying to config the Node.js to use RLS. I dindn´t find any pages teachinh howto do it.
I am using the appownsdata from Microsoft.
Without RLS works fine, but with RLS I receive the error message:
Anyone?
Guys, after burn some fosfate I have fund the solution:
In the file src/embedConfigService.js
Add the lines below after the line 169.
// Add rls
formData['identities'] = [];
formData['identities'].push({
username: '100',
roles: ["Usuario"],
datasets: ["seu dataset"]
})
3 Replies
- pratyashasamalMemorable Member
Hi CSpina ,
Please check out this link.
https://medium.com/peritos-solutions/enable-row-level-security-and-embed-powerbi-dashboard-in-an-application-ec7404534aa8Hope this was helpful.
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C - CSpinaHelper III
Thanks Pratyasha Samal, but the article is too old and don´t deal with node.js.
- CSpinaHelper III
Guys, after burn some fosfate I have fund the solution:
In the file src/embedConfigService.js
Add the lines below after the line 169.
// Add rls
formData['identities'] = [];
formData['identities'].push({
username: '100',
roles: ["Usuario"],
datasets: ["seu dataset"]
})