Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |