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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
wskallmeyer
Advocate II
Advocate II

Using different roles to filter pages within a report using only Power BI Desktop on prem

Hi All,

 

I am currently struggling with a way to enforce security based on a user's department using only Power BI Desktop on premises.  I have created a role for each department so that they can only see their own's department data using RLS.  The role itself works and fitlers appropriately.  I need a way within the pbix file (on prem) to force that role on the user who opened the PBIX file on their desktop.  Maybe I give Dept HR their own file DeptHR.pbix with that RLS in it?  Can I force them to use that role when that file is opened?  And also do not allow them to change it.

 

Thanks in advance,

 

Scott

1 ACCEPTED SOLUTION

None that I know of if by "on-prem" you mean simply sharing pbix files around the office. Again, the desktop app is specifically meant to be an editor used prior to publication online. It isn't meant to be a static viewer of published work. If your end users are all using the editor as a viewer, they can all edit. If you're not publishing to the online service, you're not using the end-user publication half of the product.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
KHorseman
Community Champion
Community Champion

As far as I can tell, row level security is a cloud service feature. You only use the desktop app to define the filter functionality of the roles; they are enforced online. If your company simply shares pbix files among users, row level security effectively doesn't exist.

 

The desktop app is meant to be a designer for use before publishing online, not a published deployment solution.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Are there any best practices for baking the filtering into the reports so that the end users (Desktop on prem) cannot undue the work of the developer?

 

Thanks in advance, Scott

None that I know of if by "on-prem" you mean simply sharing pbix files around the office. Again, the desktop app is specifically meant to be an editor used prior to publication online. It isn't meant to be a static viewer of published work. If your end users are all using the editor as a viewer, they can all edit. If you're not publishing to the online service, you're not using the end-user publication half of the product.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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