Forum Discussion

wzkoral's avatar
wzkoral
Advocate II
6 years ago

Teams workgroup as RLS filter in Power BI

Hi

How to use Teams Worgruop name to RLS Filter Power Bi raport published in this Teams gruop
We have group for every big client and we want to have filtered to only this client data raport shown.

We have one raport os whole sale with RLS to Key Acount level , but now we want to deeper with filtering .
We share this raport with link and in link is added filter with client number and it was working until update of Teams. Link is fine and worki but u have click link it dosent star in Teams.

4 Replies

    • wzkoral's avatar
      wzkoral
      Advocate II

      I know and we already have dynamic RLS with userprincipalname() DAX function. But we need anather dynamic filter by User group in Teams.

      One person have few clients and in specyfic client workgroup raport should shown only data for that person and that client .
      That why we are looking how to read workgroup name from teams to Power BI , rest to do RLS with it its easy.

      • v-kelly-msft's avatar
        v-kelly-msft
        Community Support

        Hi wzkoral

         

        First,you need to create a group table,such as below:

         

         

        Then make a definition about each group returns what kind of value.

        For the reference,you can turn to the blog here.

         

        Best Regards,
        Kelly
         
        Did I answer your question? Mark my post as a solution!