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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors