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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.