This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hello everyone,
I create one Funcion called cod_user to filter the report by cod_user:
I get the user logged in my php app:
$cod_user = Auth::user()->cod_user;
How do i do to filter this RLS in Javascript API?
var models = window['powerbi-client'].models;
var permissions = models.Permissions.All;
var config = {
type: 'report',
tokenType: tokenTypeReport == '1' ? models.TokenType.Aad : models.TokenType.Embed,
accessToken: accessToken,
embedUrl: EmbedUrlReport,
id: EmbedReportId,
permissions: permissions,
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: true
}
};
var report = powerbi.embed(embedContainer, config);
Hey @marcio_fornari ,
I think this link will be useful.
https://community.powerbi.com/t5/Developer/PowerBi-Embedded-API-Works-with-RLS/td-p/231064
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |