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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors