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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.