cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pricey79
Helper V
Helper V

Dropdown with restricted access?

Hi everyone, I was hoping someone could help

 

I have a dropdown slicer thats filled with names who all have a unique ID.

Is there a way where the person who is logged on the computer showing the dashboard(logged on with their unique ID) is only able to see their own name in the dropdown?

 

Thank you

2 REPLIES 2
RMDNA
Solution Sage
Solution Sage

Hi @Pricey79 - the function USERPRINCIPALNAME( ) returns the alias of the user who is viewing the report. You could incorporate that into a row-level security (RLS) setup to limit what a given user can see.  

@RMDNA thank you for your response. I should have mentioned that the queries conceredn are direct query, and they dont show up in the RLS editor 😞

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors