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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Shaf
Frequent Visitor

Hide/Show slicer based on text search slicer

I'm working on a project that displays student dashboards at the moment. I want to include a slicer in the dashboard, but I don't want the students to be able to see it. Only the tutor, who has entered his or her password in the text search slicer, will be able to see the slicer with the names of their students in it. I have an excel file containing each student's name, role (tutor/student), and password for that purpose. Neither do I want RLS to be performed nor do I want the password to be hardcoded inside the measure. I want DAX metrics to be used for this. Additionally, there will be various student names for different tutors because I am doing this for multiple classes. I want the tutors to be limited to knowing the names of their students and nothing else.

2 REPLIES 2
mlsx4
Super User
Super User

Hi! 

 

Take a look at this post: https://databear.com/hide-show-items-in-power-bi/ 

It may help you.

Shaf
Frequent Visitor

hi the thing i wanted was the text search to be connected to the slicer where the slicer will only pop up after the password is typed in the filter but this one really doesnt show anything other than the connection between two slicers

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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