<?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: SSAS Tabular connection to Power BI doesn't pickup role in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/673021#M10097</link>
    <description>&lt;P&gt;Please let us know how you were able to resolve this issue?&lt;/P&gt;&lt;P&gt;How * has been removed in the roles and PBIRS consider only the role of login user?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 10:35:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-18T10:35:10Z</dc:date>
    <item>
      <title>SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/375255#M4400</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this problem: I have created a SSAS Tabular 2016 model with a role called: "ThisIsASecurityRole". This "role" use the following DAX filtering:&amp;nbsp;=Users[Login]=USERNAME() on the Users table (Table columns: PK, Login). The goal is to have a second table, the TimeRecorded table, filtered by users.&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;IMG src="https://ip1.i.lithium.com/6626e901323bbb2637b46cdd1e4a52c31dd3bac9/687474703a2f2f6936332e74696e797069632e636f6d2f31346b6b7376382e706e67" border="0" alt="" width="806" height="601" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the following connection string:&lt;/P&gt;&lt;P&gt;"Data Source=ServerName\InstanceName;Initial Catalog=RowLevelSecuritySSASTabular;&lt;STRONG&gt;Roles=ThisIsASecurityRole&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/1062ffee9d1a2cf662173d851c3a4eda26312777/687474703a2f2f6936332e74696e797069632e636f6d2f736d777a65752e6a7067" border="0" alt="" width="806" height="791" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I connect to Power BI using the above connection string (I amend the connection string in PBRS/Manage/Data Sources/Connection String), the Power BI report works &lt;STRONG&gt;but do not filter the data&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Additional details:&lt;/U&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When I connect to Excel or SSRS (a SSRS report on the same PBRS server, in the same exact folder) using the same connection string, the reports are filtered correctly. So I believe that my SSAS model is correct.&lt;/LI&gt;&lt;LI&gt;When I connect with a test user that don't have any elevated right, he still get all the data in Power BI unfiltered (but the data is correctly filtered using Excel or SSRS). In order to connect using this user, I use remote desktop to another server using this test users credential.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The PBRS and the SSAS Tabular model is on the same server.&lt;/LI&gt;&lt;LI&gt;The SQL Profiler trace shows a difference between the way the SSRS report&amp;nbsp;and the Power BI one is processed:&amp;nbsp;&lt;UL&gt;&lt;LI&gt;SSRS&amp;nbsp; trace has the following:&lt;UL&gt;&lt;LI&gt;&amp;nbsp;EventClass =&amp;nbsp;Session Initialize&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;TextData =&amp;nbsp;"thisisasecurityrole"&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;At the end of the&amp;nbsp;XML&amp;nbsp;Text:&amp;nbsp;&lt;STRONG&gt;&amp;lt;Roles&amp;gt;ThisIsASecurityRole&amp;lt;/Roles&amp;gt;&lt;/STRONG&gt;&amp;lt;/PropertyList&amp;gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Power BI trace has the following:&lt;UL&gt;&lt;LI&gt;EventClass =&amp;nbsp;&lt;SPAN&gt;Session Initialize&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;TextData =&amp;nbsp;"&lt;STRONG&gt;*,&lt;/STRONG&gt;thisisasecurityrole"&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;At the end of the&amp;nbsp;XML&amp;nbsp;Text: &amp;lt;/PropertyList&amp;gt; (&lt;STRONG&gt;no Roles tag&lt;/STRONG&gt; even though the connection string has such a tag).&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I've created&amp;nbsp;the Power BI report using a live connection to the SSAS Tabular 2016 described above&lt;/P&gt;&lt;P&gt;( Home/Get Data/Analysis Service/"Connect Live"/Model) using the appropriate Server and Database names. I then saved the report on PBRS. This is the only source in the power bi report.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What steps do you think are missing in order for Power BI to filter my report according to the role called 'ThisIsASecurityRole" defined in SSAS Tabular 2016?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 14:29:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/375255#M4400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-13T14:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/379671#M4518</link>
      <description>&lt;P&gt;UP. So nobody has an answer to this query? This is the 3rd or 4th of such post - the others are created by other people - and nobody seem to know whether this is a bug or if there are way around this?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 08:27:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/379671#M4518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T08:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/485742#M7038</link>
      <description>&lt;P&gt;Hello, Guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if this issue still persist? I'm on a job exactly like this one, and I'm not facing a solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Indeed!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 22:18:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/485742#M7038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T22:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/487788#M7089</link>
      <description>&lt;P&gt;We've managed to implement this succesfully. I can't quite see what's different about what you have done and what we have done. I think they are more or less the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do think you may be hitting an issue with the test account you are using. You say you are remoting onto a mahcine as that user, so it probably has fairly elevated privilages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The info shown in the&amp;nbsp;original posts includes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;TextData = "*,thisisasecurityrole" &lt;/PRE&gt;&lt;P&gt;the * indicates the user is a member of the admins groups and this is probably causing your security to be ignored, hence the reason the user is seeing everything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 08:40:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/487788#M7089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-13T08:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/539029#M8353</link>
      <description>&lt;P&gt;That exactly was the problem in my case! The administrator role supersedes all other roles, eliminating all&amp;nbsp;RLS conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for pointing that out!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 20:22:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/539029#M8353</guid>
      <dc:creator>fbackes</dc:creator>
      <dc:date>2018-10-10T20:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/673021#M10097</link>
      <description>&lt;P&gt;Please let us know how you were able to resolve this issue?&lt;/P&gt;&lt;P&gt;How * has been removed in the roles and PBIRS consider only the role of login user?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 10:35:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/673021#M10097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-18T10:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/676405#M10117</link>
      <description>&lt;P&gt;Have you tried using an acocunt that isn't a SSAS Admin?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your session initialise event you get&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;EventClass =&amp;nbsp;&lt;SPAN&gt;Session Initialize&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;TextData =&amp;nbsp;"&lt;STRONG&gt;*,&lt;/STRONG&gt;thisisasecurityrole"&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The * indicates you are an admin on the model and as such the security may not be behaving the way you expect. We have to use separate dummy accounts when testing this stuff for this exact reason.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 07:42:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/676405#M10117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-24T07:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/1475696#M16574</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing the same issue and data is not getting filter with even hard coded value.&lt;/P&gt;&lt;P&gt;Tested&amp;nbsp; Steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Browsed on SSAS Tabular Database on RDP loged in domain user.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; On Security Contex model - 3 Options I) Current User II) Other User III) Roles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i Select III option and filter works fine with selected Role&lt;/P&gt;&lt;P&gt;But when I try with I Or II options did not filter any data and shows all data and even i traced in sql profiler RLS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please share us any thing missing or share us some document if you have resolved .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 03:41:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/1475696#M16574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-05T03:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSAS Tabular connection to Power BI doesn't pickup role</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/1719681#M18492</link>
      <description>&lt;P&gt;Has this been resolved? We are facing the same issue where even a non admin group business users (assigned properly to the SSAS role&amp;gt; member) sees all the data unfiltered on a Power BI report through the gateway. The same user while access the SSAS model from an Excel pivot sees only limited data restricted to his/her role. Isn't this way to long to be still not resolved by PBI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 20:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/SSAS-Tabular-connection-to-Power-BI-doesn-t-pickup-role/m-p/1719681#M18492</guid>
      <dc:creator>suvadeepbhuyan</dc:creator>
      <dc:date>2021-03-12T20:26:33Z</dc:date>
    </item>
  </channel>
</rss>

