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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

single Select reset

Hi there,

 

I have a report based on RLS with two slicers one Department  and second Jobs

Users can see only jobs which they belong to theirs department.

Everything works just fine (for example user A can see jobs belong to Dept 10 and user B can see jobs belong to dept 11)

The problem start when I modify the Job slicer to single select for example if I publish the report I need to select at least one job which belong to department that only users with RLS can see.

For example I published a report with Department = ALL and Job 10 

When user B try to browse the report he / she see an empty report because theris department is not on theirs RLS list.

 

My question - how do I reset the single select slicer so on the first time user can see theris department and jobs? 

 

Thanks,

Oded  Dror 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Parvinder ,

 

Thank you

 

Oded Dror

 

View solution in original post

@Anonymous I wrote a blog post for this which you can find it here and also there is a sample pbix file to download for you to use in your report.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

7 REPLIES 7
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

There is no such feature in current version of Power BI.

You could vote for a similar idea or this idea.

Here are some workarounds:

https://community.powerbi.com/t5/Desktop/Force-a-selection-in-a-drop-down-slicer/td-p/431735

https://community.powerbi.com/t5/Desktop/Forced-value-in-slicer/td-p/515143

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Maggie,

Thank you for your response but it not solve my issue.
Single select slicer can't start on load page event with null value like programming language (radio button for example)
It has to fix with Microsoft development team. (maybe in a few months)

How to I close this incident without having to mark it as solved?


Thanks,
Oded Dror

@Anonymous solution I proposed will need some development which I will as part of my experiment. It is great request and need to be fixed.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Parvinder ,

 

Thank you

 

Oded Dror

 

@Anonymous I think I found the solution for this, will share it soon. cheers!!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@Anonymous I wrote a blog post for this which you can find it here and also there is a sample pbix file to download for you to use in your report.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@Anonymous I see what you are saying, it is going to be a problem because when you set a single slier, it selects a value. In this case you need to add a value in slicer table called "All" which should be selected as a default and when users are switched, by default "ALL" is selected since it will be available for every user regardless what department data they can see. I don't see any other workaround for now.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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