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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Supritha1594
Regular Visitor

Show Slicer Values based on the logged in user in Power BI

Dear Community,

 

I have a slicer with the list of cost centers. I want to display cost centers of the logged in user in the cost center slicer. How can I do this in power BI. I have created a visualization which filters the data based on the slicers selection. I do not want to show all the cost centers to the logged in user. I want to show the cost ceters to which they belong to or have access to.


Kindly share the knowledge!

1 ACCEPTED SOLUTION
DallasBaba
Skilled Sharer
Skilled Sharer

@Supritha1594 you can use Row-Level Security (RLS).  Create a table showcasing user names and their corresponding accessible cost centers.

 

Navigate to the "Modeling" tab in Power BI Desktop and access "Manage Roles."

Initiate a new role by clicking on "Create."

Within the "Table Permissions" section, designate the table housing cost centers.

Move to the "Filter" section, opt for "Only show the rows where," and select the column with user names and cost centers. Save the role by clicking "OK."

 
Once you have created the role, you can publish the report to Power BI Service. This YouTube video should be helpful for you.

Let me know if this works for you. @ me in replies, or I'll lose your thread!!!  
Note:
If this post is helpful, please mark it as the solution to help others find it easily. Also, if my answers contribute to a solution, show your appreciation by giving it a thumbs up
 
 
Thanks
Dallas

View solution in original post

3 REPLIES 3
DallasBaba
Skilled Sharer
Skilled Sharer

@Supritha1594 I'm Happy to know it works.  Kindly @ me with any future needs around Power BI and Fabric.

 

Thanks
Dallas
DallasBaba
Skilled Sharer
Skilled Sharer

@Supritha1594 you can use Row-Level Security (RLS).  Create a table showcasing user names and their corresponding accessible cost centers.

 

Navigate to the "Modeling" tab in Power BI Desktop and access "Manage Roles."

Initiate a new role by clicking on "Create."

Within the "Table Permissions" section, designate the table housing cost centers.

Move to the "Filter" section, opt for "Only show the rows where," and select the column with user names and cost centers. Save the role by clicking "OK."

 
Once you have created the role, you can publish the report to Power BI Service. This YouTube video should be helpful for you.

Let me know if this works for you. @ me in replies, or I'll lose your thread!!!  
Note:
If this post is helpful, please mark it as the solution to help others find it easily. Also, if my answers contribute to a solution, show your appreciation by giving it a thumbs up
 
 
Thanks
Dallas

Thanks alot @DallasBaba for your response! It really worked well...I followed the youtube video and the steps that you have mentioned above.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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