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
dkb941007
Frequent Visitor

RLS is not applying to specific visuals

Hello everyone, I'm having an issue with a dashboard where when I try to apply RLS using "View as a role" all visuals change except a card and a donut chart, now the real problem is: This donut chart exists in another page as a tooltip visual and it works fine there. Neither card nor donut chart have calculated measures, they're all vanilla. What could be causing those issues?

1 ACCEPTED SOLUTION

Hi @dkb941007 ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.

 

Best Regards,

Neeko Tang

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

3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @dkb941007 ,

 

It seems that the issue you're experiencing could be related to the interactions between the donut chart and the bar chart. Specifically, if the bar chart has interactions turned off, it won't be filtered by what has been selected in the donut chart.

Another possible reason for the issue could be related to the relationships between the tables in your dataset. You might want to verify that the relationships exist between the tables and that the cardinality properties are correctly set .

As the donut chart works correctly in a tooltip, test the RLS in different contexts (e.g., in a different report, page, or visual type) to see if the issue persists.

 

Please refer to these to Troubleshoot RLS:

Row-level security (RLS) guidance in Power BI Desktop - Power BI | Microsoft Learn

Choice in donut chart seemingly not being passed t... - Microsoft Fabric Community

 

Best Regards,

Neeko Tang

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

While fumbling around I think I found out where the problem is: It might be a relationship issue. Data from the card and donut chart are in table "stores"(this one is cross filtered with the fact table), RLS data is in table "users"(one way with fact table) and the rest of the data is in a fact table (this one is 100% responsive towards the RLS filter). The thing that really puzzles me is that the donut chart updates while in the tooltip visual but only when it is displayed as a tooltip in my other viz page (a hierarchy tree chart using data from fact), in it's original page where it is created it is unresponsive when I apply RLS. 

Hi @dkb941007 ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.

 

Best Regards,

Neeko Tang

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

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.