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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
kewaynes
Helper IV
Helper IV

RLS with Single Select Slicer

Hi,

 

I have a requirement to have a report support translations for several languages. The issue I'm having is doing this with slicers that need to be single select. My understanding is that whatever the slicer is selected in the desktop when it's published will be the default selection in the service, even if the RLS has filtered that value out.

 

For example, I have a dataset that looks like this:

kewaynes_1-1694101660859.png

 

I have placed this column into a single select slicer:

kewaynes_2-1694101681198.png

 

I set up my RLS like this:

kewaynes_3-1694101727833.png

 

When someone from France views the report in the service, the value that will load into the slicer is 'Average', not 'Moyenne'. They will still need to go to the slicer and select 'Moyenne'. 

kewaynes_4-1694101819325.png

 

 

Once they do, 'Average' will disappear as it has been filtered out of the data by the RLS. 

kewaynes_5-1694101858857.png

 

 

However, the desired functionality is to have it be where the correct language initially loads in the single select slicer. So, in the above example, when someone from France loads the report, 'Moyenne' will be what they see in the slicer when the report loads, not 'Average' (even though average is what was selected in the desktop when the report was published).

 

Does anyone know if this is possible? I've been trying to play around with calc groups in tabular editor but I'm pretty green with that and haven't had any luck...

 

1 ACCEPTED SOLUTION

Hi @kewaynes ,

 

If you use single slicer, you will need to select the correct one manually and then the "Average" will be filtered. 

According to your statement, I think you just need to create a dynamic RLS instead of using slicer.

You may refer to below blog to learn more details.

For reference:

Dynamic Row Level Security with Power BI Made Simple - RADACAD

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
kewaynes
Helper IV
Helper IV

I don't see where I have an attachment option. But all it is, is a single table that looks like this:

kewaynes_0-1694105334703.png

 

 

That has RLS applied like this:

kewaynes_1-1694105372512.png

 

And then of course the single select slicer:

 

kewaynes_2-1694105395577.png

 

 

 

Hi @kewaynes ,

 

If you use single slicer, you will need to select the correct one manually and then the "Average" will be filtered. 

According to your statement, I think you just need to create a dynamic RLS instead of using slicer.

You may refer to below blog to learn more details.

For reference:

Dynamic Row Level Security with Power BI Made Simple - RADACAD

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I don't think this will work. RLS is enabled. However, the default selection for the single select slicer still appears when the report loads, whether it's part of the RLS filtered dataset or not. 

 

For example, if the user is French but the English is the default selection when I publishe the report, the English will appear even though it's not really a 'valid' selection. The user will need to change to French in order for the visuals to populate.

AmiraBedh
Super User
Super User

Can you please share your pbix ?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Do you know how to solve this

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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