Forum Discussion
Teams workgroup as RLS filter in Power BI
Hi wzkoral
You need a dynamic RLS to your report for different clients. Below are the references for desktop and serivce.
https://docs.microsoft.com/en-us/power-bi/service-admin-rls
https://docs.microsoft.com/en-us/power-bi/desktop-rls
Best Regards,
Kelly
- wzkoral6 years agoAdvocate 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-msft6 years agoCommunity 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,
KellyDid I answer your question? Mark my post as a solution!- wzkoral6 years agoAdvocate II
But i need to get the MS Teams workgroup name. Not workgroup with I specife by my self in the table.