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

How to make the default selection of slicer dynamic based on a column with RLS

Hi,

I've a table product_usage with product_name and used_date columns. And I also have RLS implemented. i.e. a user will only be able to see the products he/she is entitled to.

 

And the report has a few KPIs (bar charts, pie charts, table etc.) and I have a slicer (dropdown and single select) with values from product_name column. Everything is good till here.  Now the requirement is to have only one product selected by default and the selected product should be based on the latest of used_date column.

I tried implementing similar to how the 'Current Month default slicer selection' is implemented. It works fine without RLS but when RLS is on, i.e. when I view as a user with a specific role, it doesn't work. For the default selection, I'm okay to display it as 'Latest Product' like 'Current Month'.

Any help would be appreciated. Let me know if you need any more details.

1 REPLY 1
TeigeGao
Solution Sage
Solution Sage

Hi @Anonymous ,

Based on my test, I found that it is not possible to meet this requirement.

Best Regards,

Teige

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.