<?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 for the live connection with SSAS Tabular  Model in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1226215#M24770</link>
    <description>&lt;P&gt;USERNAME() behaves differently on Desktop and Service. Always use USERPRINCIPALNAME() and always use email addresses, not domain accounts.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2020 00:47:26 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-07-16T00:47:26Z</dc:date>
    <item>
      <title>Dynamic Row Level Security for the live connection with SSAS Tabular  Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1225614#M24764</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am implementing the Dynamic Row Level Security for the power bi users, which is live connection with SSAS tabular model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gone through the below steps:&lt;/P&gt;&lt;P&gt;1. I have created a table with the Users.&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;EmployeeID&lt;/TD&gt;&lt;TD&gt;SalesTerritoryID&lt;/TD&gt;&lt;TD&gt;FirstName&lt;/TD&gt;&lt;TD&gt;LastName&lt;/TD&gt;&lt;TD&gt;UserName&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;User1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;XXXX\User1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;User2&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;XXXX\User2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;User3&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;XXXX\User3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;User4&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;XXXX\User4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;USer5&lt;/TD&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;XXXX\User5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;2.&amp;nbsp;&lt;SPAN&gt;Crated roles in SSAS&amp;nbsp; and added users to&amp;nbsp; membership.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And below picture for reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img 3 modelling.PNG" style="width: 737px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/312390iCD5800FEC1926608/image-size/large?v=v2&amp;amp;px=999" role="button" title="img 3 modelling.PNG" alt="img 3 modelling.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Used below DAX query to apply Dynamic RLS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;=DimSalesTerritory[SalesTerritoryKey]=LOOKUPVALUE(DimUserSecurity[SalesTerritoryID], DimUserSecurity[UserName], USERNAME(), DimUserSecurity[SalesTerritoryID], DimSalesTerritory[SalesTerritoryKey])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RLS dynamic.PNG" style="width: 645px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/312388i7D91766044EBC043/image-size/large?v=v2&amp;amp;px=999" role="button" title="RLS dynamic.PNG" alt="RLS dynamic.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Shared Power Bi report to the Users(Local AD users).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. User can not able to see the content (User could see the blank visuals).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/312389i0ADE2E4296899770/image-size/large?v=v2&amp;amp;px=999" role="button" title="img1.PNG" alt="img1.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6. It is working for the Static RLS.&lt;/P&gt;&lt;P&gt;Given the DAX :&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;=DimSalesTerritory[SalesTerritoryKey]=2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img2.PNG" style="width: 991px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/312397iCCA30753817F7FAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="img2.PNG" alt="img2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For more information I&amp;nbsp;have On-Prem SSAS, Local AD users and live connection with the Power BI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what would be the reason for this. If any suggestions , it would be appriciated.&lt;/SPAN&gt;&lt;SPAN&gt;Thanks in Advance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 18:21:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1225614#M24764</guid>
      <dc:creator>LDevi86</dc:creator>
      <dc:date>2020-07-15T18:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security for the live connection with SSAS Tabular  Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1226215#M24770</link>
      <description>&lt;P&gt;USERNAME() behaves differently on Desktop and Service. Always use USERPRINCIPALNAME() and always use email addresses, not domain accounts.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 00:47:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1226215#M24770</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-16T00:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security for the live connection with SSAS Tabular  Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1226845#M24778</link>
      <description>&lt;P&gt;Thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have changed the table and DAX query as below using UPN.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UPN.PNG" style="width: 484px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/312839iA7B1D3967A2404E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="UPN.PNG" alt="UPN.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And DAX :&lt;/P&gt;&lt;P&gt;=DimSalesTerritory[SalesTerritoryKey]=LOOKUPVALUE(DimUserSecurity[SalesTerritoryID], DimUserSecurity[UserName], USERPRINCIPALNAME(), DimUserSecurity[SalesTerritoryID], DimSalesTerritory[SalesTerritoryKey])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the result is same, User could see blank report.&lt;/P&gt;&lt;P&gt;Do I should change the DAX query? any other settings to fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 05:36:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1226845#M24778</guid>
      <dc:creator>LDevi86</dc:creator>
      <dc:date>2020-07-16T05:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security for the live connection with SSAS Tabular  Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1227884#M24781</link>
      <description>&lt;P&gt;In power bi create a RLS role and for the DimUserSecurity table specif the rule&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Username]=USERPRINCIPALNAME()&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 11:02:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1227884#M24781</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-16T11:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security for the live connection with SSAS Tabular  Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1227980#M24783</link>
      <description>&lt;P&gt;Hi Ibendlin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to implement RLS in Power BI desktop, since this is live connection with SSAS Tabular Model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="RLS1.PNG" style="width: 764px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/313208i4CA203A5D043A29B/image-size/large?v=v2&amp;amp;px=999" role="button" title="RLS1.PNG" alt="RLS1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 11:38:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1227980#M24783</guid>
      <dc:creator>LDevi86</dc:creator>
      <dc:date>2020-07-16T11:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security for the live connection with SSAS Tabular  Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1228062#M24784</link>
      <description>&lt;P&gt;In that case see if the below can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://radacad.com/row-level-security-with-ssas-tabular-live-connection-in-power-bi" target="_blank"&gt;https://radacad.com/row-level-security-with-ssas-tabular-live-connection-in-power-bi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 12:10:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/1228062#M24784</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-16T12:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Row Level Security for the live connection with SSAS Tabular  Model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/2899196#M39693</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Lakshmi, I also have same porblem, Row level security is not working. In my case viewers can see all countries, I wonder if you get the solution so I can implement that way. Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NS&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 05:31:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Row-Level-Security-for-the-live-connection-with-SSAS/m-p/2899196#M39693</guid>
      <dc:creator>sultanan3</dc:creator>
      <dc:date>2022-11-11T05:31:39Z</dc:date>
    </item>
  </channel>
</rss>

