Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
So I have embedded a powerbi report in another web application. To view the report, user needs to login. Now the report has data for all departments. But the logging in user belongs to some specific department and he should be given access to view only that data.
Now the data part, The report contains 5 dashboard from 5 fact tables. All the fact table has department id which is mapped to a dim_department table (DIMENSION TABLE). Out of the 5 fact tables, we have fact_user table containing the username by which the user is logged in, his department ID and several other information which is required for dashboarding purpose.
Tricky Part: There are around 30000 users logging into the web application from different domain without powerbi license. So we embed the report by Service principal (Azure Active Directory).
How to apply RLS at department level in powerbi while embedding??
Solved! Go to Solution.
RLS must control the data model. It needs to be applied to a dimension table on the outside of the star schema.
No we have not applied RLS to dim table! The username in fact_user is the username used to login to the web application. The username is linked to department via department ID
RLS must control the data model. It needs to be applied to a dimension table on the outside of the star schema.
Thanksss Bro ❤️
So we embed the report by Service principal
Don't do that?
There are around 30000 users logging into the web application from different domain
From outside your Entra ID?
Is your RLS applied to one of the dimension tables? What is it based on? Mapping from userprincipalname to department?
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |