Forum Discussion

Apoorva1's avatar
Apoorva1
Regular Visitor
2 years ago

Row Level security for multiple tables not working as expected

I have a requirement to apply RLS in my Agile dashboard which is created on Dataverse tables. I have 3 tables- Stories, Defects & Enhancements. I also have Business Units for 4 teams- MS team, Sales team, Manager team, Client team. The Hierarchy is- MS team & Sales team are independent of each other and fall under Manager team. Under MS team, we have Client team. All of these teams have their own Business units and BUs also follow the same Hierarchy. I want to implement RLS in such a way that Manager team can see everything unfiltered. Sales team can see only their BUs data. MS team can see their BUs data and Client teams BUs data. Client team only sees their BUs data. 

I created the following roles- 

 

For Client I applied same filters on the following tables- 

 

For Sales, I applied same filters on the following tables- 

 

For Managers I did not apply any filter.

For MS I applied same filters on the following tables- 

As these are the names of my Business units.

I am trying to get correct results but on applying these conditions, My dashboard shows empty charts.

Kindly help

7 Replies

  • Hi Apoorva1 
    Have you added your users to the appropriate groups in Powe BI service?


    Did it work 👍 A kudos would be appreciated ‌‌📢 Mark it as a solution to help spreading knowledge

     

     

     

    • Apoorva1's avatar
      Apoorva1
      Regular Visitor

      I am using the View As option to verify the roles data in Power BI desktop.

  • In this case could you share a screenshot of you data model? This would help investigating the issue.


    Did it work 👍 A kudos would be appreciated ‌‌📢 Mark it as a solution to help spreading knowledge

      • DataVitalizer's avatar
        DataVitalizer
        Super User

        The data displayed in your charts is brought from which table(s)?

        Did it work 👍 A kudos would be appreciated ‌‌📢 Mark it as a solution to help spreading knowledge