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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ManchevB
Helper I
Helper I

Preview a report on a security level

 
1 ACCEPTED SOLUTION
Alex87
Solution Sage
Solution Sage

You want to put in place static RLS. You do not need a table Spain Manager. In the security roles you create add the filter on the specific country of your DIM Table you want to focus, not on users email AND not on the table you created.

For ex for Spain, choose something "MarketCode equals SPAIN". You add the specific users once you publish the reprot to Power Bi services




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




View solution in original post

6 REPLIES 6
Alex87
Solution Sage
Solution Sage

You want to put in place static RLS. You do not need a table Spain Manager. In the security roles you create add the filter on the specific country of your DIM Table you want to focus, not on users email AND not on the table you created.

For ex for Spain, choose something "MarketCode equals SPAIN". You add the specific users once you publish the reprot to Power Bi services




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




I managed to set the roles using the Country column. Thank you for your advice Alex!

ManchevB
Helper I
Helper I

I tried it but I cannot filter on a manager/country level, even when I have defined roles, a manager is able to see the whole report, any suggestions?

Please detail exactly what you tried to make an idea of what you might do wrong. 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




Hi Alex,

 

What I did was to make each country manager in a separate tables, with a country and e-mail column:

 

ManchevB_0-1717661587352.png

 

After that I went to "Modeling" - "Manager roles" and there I made a role for each manager by selecting the respective manager table and setting the email to match the email of the manager like so:

 

ManchevB_1-1717661765703.png

 

Then I click on save & publish, in the semantic model of the report I click on "Security" and there I assign the manager of the country to its role: 

 

ManchevB_2-1717661894822.png

 

After all this, I go to the report and select "View as" and chose the role I created but still.. . I see the full view of the report and not the data related to the country only.

 

Appreciate your attention into this!

 

B

 

 

Alex87
Solution Sage
Solution Sage

you need to set up RLS roles by country. Microsoft Learn explains it well

Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

 

If it answers your query, please mark my reply as the solution. THanks!




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors