<?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: Row-Level Security   with Direct Query in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/81310#M2874</link>
    <description>&lt;P&gt;@Anonymous﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Power BI, when connecting SSAS tabular data source in DIRECT QUERY mode, it will directly take the role security defined within Tabular model. We can't "Manage Roles" for Tabular source in Power BI Desktop. To edit roles and corresponding row filters, you have to do it in either SQL Server Data Tools (SSDT) or SQL Server Management Studio (SSMS). Please refer to tutorial below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-tutorial-row-level-security-onprem-ssas-tabular/" target="_blank"&gt;Tutorial: Dynamic row level security with Analysis services tabular model&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2016 02:59:31 GMT</pubDate>
    <dc:creator>v-sihou-msft</dc:creator>
    <dc:date>2016-10-24T02:59:31Z</dc:date>
    <item>
      <title>Row-Level Security   with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/80568#M2847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I &amp;nbsp;am working in the Project &amp;nbsp;which &amp;nbsp;will &amp;nbsp; go to &amp;nbsp;PowerBI &amp;nbsp;embedded finally .We did not &amp;nbsp;upload to AZURE yet&lt;/P&gt;&lt;P&gt;At this moment &amp;nbsp;&lt;/P&gt;&lt;P&gt;Connection is &amp;nbsp;in power BI &amp;nbsp;desktop &amp;nbsp;with DIRECT &amp;nbsp;QUERY &amp;nbsp;to 2016 SSAS &amp;nbsp;Tubular .&lt;/P&gt;&lt;P&gt;I am &amp;nbsp; working and testing &amp;nbsp;in &amp;nbsp;Row-leverl &amp;nbsp;security &amp;nbsp;portion &amp;nbsp;because &amp;nbsp;we only allow customer &amp;nbsp;look at their own &amp;nbsp;purchase history.&lt;/P&gt;&lt;P&gt;I try to follow&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-rls/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-rls/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But the &amp;nbsp;Manage Roles is &amp;nbsp;grey out in Direct Query mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the customer &amp;nbsp;ID &amp;nbsp;is &amp;nbsp;outside domain.&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;Thank-you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 16:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/80568#M2847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-20T16:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Row-Level Security   with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/81310#M2874</link>
      <description>&lt;P&gt;@Anonymous﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Power BI, when connecting SSAS tabular data source in DIRECT QUERY mode, it will directly take the role security defined within Tabular model. We can't "Manage Roles" for Tabular source in Power BI Desktop. To edit roles and corresponding row filters, you have to do it in either SQL Server Data Tools (SSDT) or SQL Server Management Studio (SSMS). Please refer to tutorial below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-tutorial-row-level-security-onprem-ssas-tabular/" target="_blank"&gt;Tutorial: Dynamic row level security with Analysis services tabular model&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 02:59:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/81310#M2874</guid>
      <dc:creator>v-sihou-msft</dc:creator>
      <dc:date>2016-10-24T02:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Row-Level Security   with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/81627#M2896</link>
      <description>&lt;P&gt;Hi Simon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two question .&amp;nbsp;&lt;/P&gt;&lt;P&gt;First&lt;/P&gt;&lt;P&gt;All the&amp;nbsp; customer is not&amp;nbsp; a domin user . What can I do .&lt;/P&gt;&lt;P&gt;Second&lt;/P&gt;&lt;P&gt;On this&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-rls/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-rls/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It must use&amp;nbsp;import data mode .&amp;nbsp; It would not&amp;nbsp; able to use&amp;nbsp; direct query&lt;/P&gt;&lt;P&gt;we can not&amp;nbsp; refresh&amp;nbsp; the data at this point if we are usin import data model&lt;/P&gt;&lt;P&gt;Please confirm.&amp;nbsp;It was becasue &amp;nbsp;we are planning &amp;nbsp;using&amp;nbsp; PowerBI Embedded to our appication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank-you&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 14:40:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/81627#M2896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-24T14:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Row-Level Security   with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/272435#M8219</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m using Impala for Data Source&amp;nbsp;in Direct Query Mode.&lt;/P&gt;&lt;P&gt;But seeing an error message "&lt;STRONG&gt;Function LOOKUPVALUE is not allowed as part of row level security expression on DirectQuery models&lt;/STRONG&gt;" when I try creating an expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have enabled &lt;STRONG&gt;"Allow unrestricted measures in Direct Query mode"&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is it possible to implement Dynamic RLS with Impala for Data Source?&lt;/P&gt;&lt;P&gt;2. Numbers of users in the company is large (runs into millions) and number of levels are 7 (Region, Country, Division, BU, Group, Local Group, Plant). It is not practical to maintain separate rows at the granular level (plant) for each user. We will then&amp;nbsp;have&amp;nbsp;around 10,000,000 rows for CEO and people with upper management.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables --&amp;gt;&lt;/P&gt;&lt;P&gt;1. Master with columns for each field&lt;/P&gt;&lt;P&gt;2. Security with email and matching fields from Master table&lt;/P&gt;&lt;P&gt;While it works in import mode, it fails in Direct Query mode with the error specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX expression I had created made use of LOOKUPVALUE as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OR(&lt;BR /&gt;OR(&lt;BR /&gt;OR(&lt;BR /&gt;Master[rc]=LOOKUPVALUE('Security'[rc],'Security'[email],USERPRINCIPALNAME(),'Security'[rc],Master[rc])&lt;BR /&gt;,&lt;BR /&gt;Master[region]=LOOKUPVALUE('Security'[region],'Security'[email],USERPRINCIPALNAME(),'Security'[region],Master[region])&lt;BR /&gt;)&lt;BR /&gt;,&lt;BR /&gt;OR(&lt;BR /&gt;Master[rcd]=LOOKUPVALUE('Security'[rcd],'Security'[email],USERPRINCIPALNAME(),'Security'[rcd],Master[rcd])&lt;BR /&gt;,&lt;BR /&gt;Master[rcdb]=LOOKUPVALUE('Security'[rcdb],'Security'[email],USERPRINCIPALNAME(),'Security'[rcdb],Master[rcdb])&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;,&lt;BR /&gt;OR(&lt;BR /&gt;OR(&lt;BR /&gt;Master[rcdbp]=LOOKUPVALUE('Security'[rcdbp],'Security'[email],USERPRINCIPALNAME(),'Security'[rcdbp],Master[rcdbp])&lt;BR /&gt;,&lt;BR /&gt;Master[rcdbpl]=LOOKUPVALUE('Security'[rcdbpl],'Security'[email],USERPRINCIPALNAME(),'Security'[rcdbpl],Master[rcdbpl])&lt;BR /&gt;)&lt;BR /&gt;,&lt;BR /&gt;Master[rcdbplp]=LOOKUPVALUE('Security'[rcdbplp],'Security'[email],USERPRINCIPALNAME(),'Security'[rcdbplp],Master[rcdbplp])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mannu&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2017 11:38:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Direct-Query/m-p/272435#M8219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-08T11:38:18Z</dc:date>
    </item>
  </channel>
</rss>

