<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create 2 RLS groups with different conditions in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4598854#M176065</link>
    <description>&lt;P&gt;Should the manager see all data, or data for their team?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2025 15:24:43 GMT</pubDate>
    <dc:creator>Deku</dc:creator>
    <dc:date>2025-03-06T15:24:43Z</dc:date>
    <item>
      <title>Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4598687#M176058</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;there aree 2 tables - Sales &amp;amp; Manager, (from source i am getting sales table - Email column (with 2 or 3 Emails as a single row as per screenshot, Manager table have Email column as below)&lt;BR /&gt;&lt;BR /&gt;when manager logis in he should see entire report data without any filters&amp;nbsp;&lt;BR /&gt;when sales team member login they should see only their data with RLS. How i can implement 2 RLS&amp;nbsp; roles(RLS , Non RLS )by uisng 2 tables ? Any help&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 14:04:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4598687#M176058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-06T14:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4598854#M176065</link>
      <description>&lt;P&gt;Should the manager see all data, or data for their team?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 15:24:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4598854#M176065</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-03-06T15:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4598962#M176068</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;manager should see full report&amp;nbsp; (manager data + Sales team data also = Entire report he should see&amp;nbsp; )&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 16:12:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4598962#M176068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-06T16:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4599153#M176077</link>
      <description>&lt;P&gt;Update the sales teams so single person per row. Add the sales tean table to the model and setup relationship using email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add managers with no relationships&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add this to a RLS role on the sales table.&lt;/P&gt;&lt;P&gt;Switch(&lt;/P&gt;&lt;P&gt;True&lt;/P&gt;&lt;P&gt;, USERPRINCPALNAME() in managers(), true,&lt;/P&gt;&lt;P&gt;, USERPRINCPALNAME() = SalesTeam[email]&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 18:41:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4599153#M176077</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-03-06T18:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4599659#M176085</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;DAX is giving Syntax for List is incorrect error, when i applied RLS on Sales Table&amp;nbsp;&lt;BR /&gt;Could you please help&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 03:42:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4599659#M176085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-07T03:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4668424#M178827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;Thank you for your quick response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Please try the below DAX in the RLS role on the Sales table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SWITCH(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRUE(),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERPRINCIPALNAME() IN VALUES(Manager[Manager]), TRUE(),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERPRINCIPALNAME() = Sales[UserEmail]&lt;BR /&gt;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;If your problem has been solved already, please mark the helpful reply and &lt;EM&gt;&lt;STRONG&gt;accept it as solution&lt;/STRONG&gt;&lt;/EM&gt;, it will be helpful for other members of the community who have similar problems as yours to solve it faster .&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Thank you very much for your kind cooperation!&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:45:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4668424#M178827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-25T12:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4674171#M179012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful&lt;/I&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 07:54:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4674171#M179012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-30T07:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4679452#M179235</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1231714" target="_blank"&gt;@VGL321&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful&lt;/I&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 06:14:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4679452#M179235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-05T06:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create 2 RLS groups with different conditions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4684708#M179425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1231714" target="_blank" rel="noopener"&gt;@VGL321&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful&lt;/I&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 11:52:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-2-RLS-groups-with-different-conditions/m-p/4684708#M179425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-08T11:52:29Z</dc:date>
    </item>
  </channel>
</rss>

