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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors