<?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 (RLS) on SQL Server data in Service</title>
    <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40167#M9268</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="3812" data-lia-user-login="ankitpatira" class="lia-mention lia-mention-user"&gt;ankitpatira﻿&lt;/a&gt;&amp;nbsp;already did that, and it works at the time of testing it, as it is illustrated in the RLS test image in my original post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Kaz&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2016 05:21:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-03T05:21:59Z</dc:date>
    <item>
      <title>Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/39885#M9235</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to give RLS a test but not getting anywhere when end users access reports &amp;amp; dashboards. Here's what I have set up, and done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data is coming from SQL Server through Reporting Services on-prem. The dataset contains sales data for districts in Western Australia, and contains two queries, Corporate Sales &amp;amp; Calendar.&lt;/P&gt;&lt;P&gt;I have added a new column UserID in Corporate Sales query in Query Editor and assign pbitest001 &amp;amp; pbitest002 based on random criteria. so now the rows in this dataset belongs to two users, pbitest001 &amp;amp; pbitest002. &amp;nbsp;I created a report, and in 2nd tab, i dropped a matrix, plotted user id&amp;nbsp;and district fields on columns, and revenue figures on columns. basically this matrix will tell me what user i am able to see after applying RLS in the cloud. &amp;nbsp;I published the report in cloud, and dont' set up auto refresh, as yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PBI Service:&lt;/P&gt;&lt;P&gt;After publishing the report, I went to the dataset properties &amp;gt; security &amp;gt; RLS. Created a new rule in Corporate Sales which says [UserID] = "pbitest002", saved, and tested the role. It just shows the data for pbitest002 user. Sweet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;img&gt;﻿&lt;/img&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;End User (PBITEST002)&lt;/P&gt;&lt;P&gt;When I log on to cloud using PBITEST002, i can still see data for PBITEST001. The column DaxUserName is a DAX measure, set to return value of Username(), which in this case returns current user name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure why 002 user is able to see data for 001? I tried fully qualified column name in the DAX expression set in rules but does not work. What's more confusing is that the test works as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas folks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Kaz&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 08:40:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/39885#M9235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-02T08:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/39900#M9239</link>
      <description>&lt;P&gt;Anonymous﻿&lt;/a&gt;&amp;nbsp;When you created role in RLS did you added your user PBITEST002 under Members tab ? Follow steps listed in &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/Row-Level-Security-in-Power-BI/ba-p/31031" target="_blank"&gt;this&lt;/A&gt; post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 09:02:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/39900#M9239</guid>
      <dc:creator>ankitpatira</dc:creator>
      <dc:date>2016-06-02T09:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/39977#M9250</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="3812" data-lia-user-login="ankitpatira" class="lia-mention lia-mention-user"&gt;ankitpatira﻿&lt;/a&gt;&amp;nbsp;Yep, I did add PBITEST002 to the role members list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaz&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 13:49:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/39977#M9250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-02T13:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40095#M9259</link>
      <description>&lt;P&gt;Anonymous﻿&lt;/a&gt;&amp;nbsp;Try this,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in your DAX you don't need to mention table name. so your dax should be [Column]="PBITEST002"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 00:50:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40095#M9259</guid>
      <dc:creator>ankitpatira</dc:creator>
      <dc:date>2016-06-03T00:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40099#M9261</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="3812" data-lia-user-login="ankitpatira" class="lia-mention lia-mention-user"&gt;ankitpatira﻿&lt;/a&gt;&amp;nbsp;Thanks Ankit. I tried using just the column name, and still does not work.. PBITest002 is still able to see rows for PBITETST001, though it works well at the time of testing RLS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Kaz&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 01:21:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40099#M9261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T01:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40160#M9267</link>
      <description>&lt;P&gt;Anonymous﻿&lt;/a&gt;&amp;nbsp;we have to troubleshoot this further. In Test Data as Role, you can also enter individual email address and preview for that, so enter PBITEST002 email address and check what it shows you in preview.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 05:01:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40160#M9267</guid>
      <dc:creator>ankitpatira</dc:creator>
      <dc:date>2016-06-03T05:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40167#M9268</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="3812" data-lia-user-login="ankitpatira" class="lia-mention lia-mention-user"&gt;ankitpatira﻿&lt;/a&gt;&amp;nbsp;already did that, and it works at the time of testing it, as it is illustrated in the RLS test image in my original post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Kaz&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 05:21:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40167#M9268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T05:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40603#M9323</link>
      <description>&lt;P&gt;Anonymous﻿&lt;/a&gt;, did you check&amp;nbsp;the same Power BI report when you do&amp;nbsp;"Test data as role" and sign in as&amp;nbsp;&lt;SPAN&gt;PBITEST002?&amp;nbsp;The images you posted show that you're checking Power BI report&amp;nbsp;when you do&lt;SPAN&gt;&amp;nbsp;"Test data as role", however, you're checking with Power BI Dashboard when sign in as&amp;nbsp;PBITEST002.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 08:42:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40603#M9323</guid>
      <dc:creator>Vicky_Song</dc:creator>
      <dc:date>2016-06-06T08:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40604#M9324</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6869" data-lia-user-login="Vicky_Song" class="lia-mention lia-mention-user"&gt;Vicky_Song﻿&lt;/a&gt;, yep, I checked the same report at the time of testing the role as well as after logging in as PBITEST002.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 08:47:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/40604#M9324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-06T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/43061#M9708</link>
      <description>&lt;P&gt;bump...&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 09:02:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/43061#M9708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-15T09:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/44153#M9820</link>
      <description>&lt;P&gt;Um, looks like this feature is not there yet...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 07:41:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/44153#M9820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-20T07:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/44246#M9838</link>
      <description>&lt;P&gt;I just did a test on my end using the same fields as in your screenshot. I didn't encounter any issues. It worked as expected. I tested with both of the following DAX expressions for the rule.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[UserID]=username()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[UserID]="janedoe@guyinacube.com"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These both filtered data as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be worth opening a support ticket to see what is happening on your end, as it isn't obvious.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:28:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/44246#M9838</guid>
      <dc:creator>GuyInACube</dc:creator>
      <dc:date>2016-06-20T13:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/48242#M10423</link>
      <description>&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where did the filters work for you? Did they work at the time of testing, within the dataset security where you have the feature to 'test&amp;nbsp;as role'? or did it work for you in an actual report? I have added screenshots (below) where I expect to see pbitest002 user to see only Central District, but the user can see all districts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I log a support ticket? I have just tested out RLS after June 2016 update, and it has not changed a bit for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Kaz&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 02:50:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/48242#M10423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-07T02:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security (RLS) on SQL Server data</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/48256#M10428</link>
      <description>&lt;P&gt;Hi Adam, and everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally got it t work. the reason why RLS was not working as expected, was that the role member (PBITEST002) was configured as an admin of the workspace. RLS started working as expected once I set pbitest002 as member.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaz&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 03:28:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Row-Level-Security-RLS-on-SQL-Server-data/m-p/48256#M10428</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-07T03:28:20Z</dc:date>
    </item>
  </channel>
</rss>

