<?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 RLS not working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/RLS-not-working/m-p/3256961#M42850</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;im testing the dynamic RLS,&amp;nbsp;&lt;BR /&gt;i have the following table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;RLS formula 1 ;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;VAR _key =&lt;BR /&gt;CALCULATEtable(&lt;BR /&gt;values('Table'[empid]),&lt;/P&gt;&lt;P&gt;'Table'[adress] = username())&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;PATHCONTAINS('Table'[emppath], _key )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;testing RLS on test1 :&amp;nbsp; test1 , should see all other users. ( the above code doesnt worrk)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RLS formula 2 :&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;VAR _key =&lt;BR /&gt;CALCULATEtable(&lt;BR /&gt;values('Table'[empid]),&lt;BR /&gt;&lt;STRONG&gt;filter(&lt;/STRONG&gt;&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[adress] = username())&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;PATHCONTAINS('Table'[emppath], _key )&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with this code,&amp;nbsp;&lt;BR /&gt;the RLS works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so im confused about why the first code didnt work .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help explaining the reason why the first code didnt work correctly, but the second did would be appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 28 May 2023 20:41:42 GMT</pubDate>
    <dc:creator>Daniel29195</dc:creator>
    <dc:date>2023-05-28T20:41:42Z</dc:date>
    <item>
      <title>RLS not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RLS-not-working/m-p/3256961#M42850</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;im testing the dynamic RLS,&amp;nbsp;&lt;BR /&gt;i have the following table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;RLS formula 1 ;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;VAR _key =&lt;BR /&gt;CALCULATEtable(&lt;BR /&gt;values('Table'[empid]),&lt;/P&gt;&lt;P&gt;'Table'[adress] = username())&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;PATHCONTAINS('Table'[emppath], _key )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;testing RLS on test1 :&amp;nbsp; test1 , should see all other users. ( the above code doesnt worrk)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RLS formula 2 :&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;VAR _key =&lt;BR /&gt;CALCULATEtable(&lt;BR /&gt;values('Table'[empid]),&lt;BR /&gt;&lt;STRONG&gt;filter(&lt;/STRONG&gt;&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[adress] = username())&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;PATHCONTAINS('Table'[emppath], _key )&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with this code,&amp;nbsp;&lt;BR /&gt;the RLS works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so im confused about why the first code didnt work .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help explaining the reason why the first code didnt work correctly, but the second did would be appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 May 2023 20:41:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RLS-not-working/m-p/3256961#M42850</guid>
      <dc:creator>Daniel29195</dc:creator>
      <dc:date>2023-05-28T20:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: RLS not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RLS-not-working/m-p/3257934#M42858</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458200" data-lia-user-login="Daniel29195" class="lia-mention lia-mention-user"&gt;Daniel29195&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to manage role&amp;nbsp;&lt;BR /&gt;select table column&amp;nbsp;&lt;BR /&gt;for E.g [Adress] = USERNAME() click OK.&lt;BR /&gt;Than&lt;BR /&gt;Go to View As&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Check&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458200" data-lia-user-login="Daniel29195" class="lia-mention lia-mention-user"&gt;Daniel29195&lt;/a&gt;&amp;nbsp;I hope this helps you!THANK YOU!!&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 12:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RLS-not-working/m-p/3257934#M42858</guid>
      <dc:creator>Mahesh0016</dc:creator>
      <dc:date>2023-05-29T12:03:35Z</dc:date>
    </item>
  </channel>
</rss>

