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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
mimiles
Frequent Visitor

Restricting filters to specific users in Power BI report

I have a Power BI report that shows data in the aggregate for a project with 350+ components. I want to share the report with several stakeholders, although each stakeholder should only be able to access data for their respective component. As the report owner, I can filter by component, but I only want stakeholders to see their data and not others. Any ideas?

2 ACCEPTED SOLUTIONS

Hi @mimiles,

 

Yes, it is possible to enable dynamic RLS at other datasource.

 

Sample:

1. Create a user table which use to store the user name.

 

Measure:

Current User = USERNAME()


2. Create a role based on username function which used to dynamic filter on current user.

 

 Capture.PNG

 

Regards,

Xiaoxin Sheng

 

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

Hi @mimiles,

 

I think it is impossible, RLS is a pro feature. For detailed information, you can take a look at below article.

 

Power BI Pro content - what is it?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

5 REPLIES 5
v-shex-msft
Community Support
Community Support

Hi @mimiles,

 

I think dynamic RLS will suitable for your requirement, take a look at below link to know more about it.

 

Tutorial: Dynamic row level security with Analysis services tabular model

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Is there any way to enable dynamic RLS without using a SQL database? I have data feeding from xlsx and json files, on my hard drive as well as via O365 online.

Hi @mimiles,

 

Yes, it is possible to enable dynamic RLS at other datasource.

 

Sample:

1. Create a user table which use to store the user name.

 

Measure:

Current User = USERNAME()


2. Create a role based on username function which used to dynamic filter on current user.

 

 Capture.PNG

 

Regards,

Xiaoxin Sheng

 

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thank you for the instructions, they make sense. Is there any way to acheive RLS without those users having Power BI Pro?

Hi @mimiles,

 

I think it is impossible, RLS is a pro feature. For detailed information, you can take a look at below article.

 

Power BI Pro content - what is it?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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