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

View all the Fabric Data Days sessions on demand. View schedule

Reply
cmbarnes
Frequent Visitor

Using Active Directory Group to choose a view to query

Background: There are 3 distinct views of the data I am usin. Each analyst is able to access one of these views based on their Active Directory group. The views were created to ensure that analysts using the back-end data directly could only access what they are allowed to access. 

 

I have created 3 reports that are exactly the same, but each one reads from the view associated with what the end users are allowed to see. It was decided to do it this way so that the security model would be exactly the same between the views and the RLS would not need to be created twice. The reports are on Report Server now, but will be transitioning to Service soon.

 

Is it possible to create a parameter in the query that will look at the end-user's AD group and allow the report to access the correct view for the group?

1 REPLY 1
lbendlin
Super User
Super User

Only in Direct Query mode, not in import mode.

 

It's not really clear what problem you are trying to solve? You want to use RLS without calling it RLS?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors