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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
harshagraj
Post Partisan
Post Partisan

RLS from database

Hello all,
I have report which has RLS defined for "Function". In the Manage Roles i have created 4 roles 
[FUNCTION_NAME] = "Engineering"
[FUNCTION_NAME] = "ISC"
[FUNCTION_NAME] = "Procurement"
[FUNCTION_NAME] = "Quality" and have defined AD groups respectively in service and it works fine.
Now how will i define for an AD group who can access all functions?
Is it [FUNCTION_NAME] =TRUE()
Kinldy help @amitchandak 

1 ACCEPTED SOLUTION

You can create a role that has no filters assiged or, if you want you can just add TRUE() to the table that holds the Function_Name field which would look something like this:

jdbuchanan71_0-1646753783287.png

 

View solution in original post

4 REPLIES 4
jdbuchanan71
Super User
Super User

You would create a 5th role with no filters on it then assign users that should see all functions to that role.

Hi @jdbuchanan71 thank you but how would i create that? is it just [FUNCTION_NAME]?

You can create a role that has no filters assiged or, if you want you can just add TRUE() to the table that holds the Function_Name field which would look something like this:

jdbuchanan71_0-1646753783287.png

 

Thanks a lot! this works

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.