<?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: Dynamic Row Level Security-with Distinct Location ID in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265952#M25028</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/245628"&gt;@reddy6400&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the error message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if your location id and sales combination is repeating, you can select both column and remove duplicate. If the sales values are different, then you can group by location id. (Edit Query)&lt;/P&gt;</description>
    <pubDate>Sat, 01 Aug 2020 02:23:16 GMT</pubDate>
    <dc:creator>nandukrishnavs</dc:creator>
    <dc:date>2020-08-01T02:23:16Z</dc:date>
    <item>
      <title>Dynamic Row Level Security-with Distinct Location ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1263784#M25012</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please suggest how to implement Dynamic Row Level Security for my below scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 tables.One is main report data table(sales by Location) and 2nd table is Location table.&lt;/P&gt;&lt;P&gt;My 2nd table has multiple Location Id's.I have to select Distinct location for the Email user and join that Location Id to the main data table to show the data in&amp;nbsp; a repor With out duplicate records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the screen shot.&lt;/P&gt;&lt;P&gt;Thank in Advance.&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="100.JPG" style="width: 775px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/323678i0FF471B4D0DE474B/image-size/large?v=v2&amp;amp;px=999" role="button" title="100.JPG" alt="100.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 05:00:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1263784#M25012</guid>
      <dc:creator>reddy6400</dc:creator>
      <dc:date>2020-07-31T05:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security-with Distinct Location ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1263862#M25013</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/245628"&gt;@reddy6400&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to create a relationship between two tables using the Location ID column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table2[Location Id] &lt;STRONG&gt;&lt;FONT color="#339966"&gt;many to one&lt;/FONT&gt;&lt;/STRONG&gt; Sales_by_Location[Location Id] (&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Both direction&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Relationship.JPG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/323721i492ACFCC3D12D187/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Relationship.JPG" alt="Relationship.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then create a Role in Table2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;[Email] = userprincipalname()&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="role.JPG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/323728iF89A895A1EAF0272/image-size/medium?v=v2&amp;amp;px=400" role="button" title="role.JPG" alt="role.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;BR /&gt;Appreciate with a kudos &lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is my latest blog&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Dynamic-Page-Navigation-Based-on-User-Login/ba-p/1097786" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Community-Blog/Dynamic-Page-Navigation-Based-on-User-Login/ba-p/1097786&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 05:46:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1263862#M25013</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2020-07-31T05:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security-with Distinct Location ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265633#M25021</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32333"&gt;@nandukrishnavs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry,Data in SALES_BY_LOCATION has same multiple Location ID's.&lt;BR /&gt;I have mutile Location ID's in both the tables(many to many).&lt;/P&gt;&lt;P&gt;I have to get distinct Location ID from Table 2 and join to table1.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 19:46:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265633#M25021</guid>
      <dc:creator>reddy6400</dc:creator>
      <dc:date>2020-07-31T19:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security-with Distinct Location ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265684#M25023</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32333"&gt;@nandukrishnavs&lt;/a&gt;&amp;nbsp;..Getting below error when i join both the tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="reddy6400_0-1596227537317.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/324244iB95852DDB50D4BF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="reddy6400_0-1596227537317.png" alt="reddy6400_0-1596227537317.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 20:32:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265684#M25023</guid>
      <dc:creator>reddy6400</dc:creator>
      <dc:date>2020-07-31T20:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security-with Distinct Location ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265952#M25028</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/245628"&gt;@reddy6400&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the error message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if your location id and sales combination is repeating, you can select both column and remove duplicate. If the sales values are different, then you can group by location id. (Edit Query)&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 02:23:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265952#M25028</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2020-08-01T02:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security-with Distinct Location ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265960#M25029</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32333"&gt;@nandukrishnavs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i drag Email ID(Table-2) to the report.It is giving me below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="reddy6400_0-1596249433578.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/324341i2C3952568BCEADF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="reddy6400_0-1596249433578.png" alt="reddy6400_0-1596249433578.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 02:37:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265960#M25029</guid>
      <dc:creator>reddy6400</dc:creator>
      <dc:date>2020-08-01T02:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security-with Distinct Location ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265972#M25030</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/245628"&gt;@reddy6400&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Click on see details, and see what is the error message.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 03:02:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-with-Distinct-Location-ID/m-p/1265972#M25030</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2020-08-01T03:02:07Z</dc:date>
    </item>
  </channel>
</rss>

