<?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 works on Desktop but not on Server Portal in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967754#M28087</link>
    <description>&lt;P&gt;I prayed so hard hoping that this is the soultion but alas, I deleted the report, reuplaoded it and then I configured the permissions in the report server and I still did not get any data on my slicer. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2022 10:23:57 GMT</pubDate>
    <dc:creator>cgaralde</dc:creator>
    <dc:date>2022-12-14T10:23:57Z</dc:date>
    <item>
      <title>Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967288#M28074</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently configured our on-prem report server, created some reports and TRIED applying RLS on the same reports unsuccessfully.&amp;nbsp; RLS does work when I try VIEW AS on the desktop app but when I deploy it on the portal and run the report, the values are just blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the premise:&lt;/P&gt;&lt;P&gt;I have the following table to control access to certain data called, &lt;STRONG&gt;ACCESS CONTROL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;User &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Company&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Store&lt;/P&gt;&lt;P&gt;DOMAIN\user.name&amp;nbsp;&amp;nbsp;&amp;nbsp; | MyCompany 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MyStore 1&lt;/P&gt;&lt;P&gt;DOMAIN\user.name2&amp;nbsp; | MyCompany 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MyStore 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also setup a measure to check for the current user,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;User2 = &lt;/SPAN&gt;&lt;SPAN&gt;USERNAME&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;And then I created Role on the desktop app called, &lt;STRONG&gt;PERMISSIONS&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;That is filtering on the &lt;STRONG&gt;ACCESS CONTROL&lt;/STRONG&gt; table using the following&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[User] = [User2]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Finally, I added two slicers, one to show Company and the other to show Store. If I try this setup on the desktop app using VIEW AS, i get my SLICERS filtered correctly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I uploaded the report on the portal and ran it only to be greeted with access errors on all visuals.&amp;nbsp; I, then, added the user on the report with the same role as PERMISSIONS and when I ran the report again I can see all reports but the SLICERS are blank.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in the end did I miss something which is why me slicer is not showing correctly.&amp;nbsp; I would appreciate all input regarding this matter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 07:33:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967288#M28074</guid>
      <dc:creator>cgaralde</dc:creator>
      <dc:date>2022-12-14T07:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967454#M28076</link>
      <description>&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using dynamic RLS by username() you should apply this RLS in Power BI Desktop as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;- Select other user option as well, and enter the desired email.&lt;/P&gt;&lt;P&gt;There you will see if the RLS is really doing it's job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I also recommend you is to use directly the USERNAME() function in the role DAX expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 08:54:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967454#M28076</guid>
      <dc:creator>alosada</dc:creator>
      <dc:date>2022-12-14T08:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967511#M28077</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470011" data-lia-user-login="alosada" class="lia-mention lia-mention-user"&gt;alosada&lt;/a&gt;Thanks for your input. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have done this earlier and RLS still works on the desktop if I select both OTHER USER and PERMISSIONS. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 09:08:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967511#M28077</guid>
      <dc:creator>cgaralde</dc:creator>
      <dc:date>2022-12-14T09:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967528#M28078</link>
      <description>&lt;P&gt;And that happens to you or the user you are trying to apply RLS?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 09:12:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967528#M28078</guid>
      <dc:creator>alosada</dc:creator>
      <dc:date>2022-12-14T09:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967683#M28081</link>
      <description>&lt;P&gt;I have setup two users and both appear correctly in the desktop app when i enter the user as DOMAIN\user.name in OTHER USER.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:03:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967683#M28081</guid>
      <dc:creator>cgaralde</dc:creator>
      <dc:date>2022-12-14T10:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967715#M28082</link>
      <description>&lt;P&gt;And on the portal that happens to all users or only you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you trying deleting the dahsboard from the portal and reuploading it? (not rewriting)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:13:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967715#M28082</guid>
      <dc:creator>alosada</dc:creator>
      <dc:date>2022-12-14T10:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967754#M28087</link>
      <description>&lt;P&gt;I prayed so hard hoping that this is the soultion but alas, I deleted the report, reuplaoded it and then I configured the permissions in the report server and I still did not get any data on my slicer. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:23:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967754#M28087</guid>
      <dc:creator>cgaralde</dc:creator>
      <dc:date>2022-12-14T10:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967799#M28088</link>
      <description>&lt;P&gt;I finally found the issue and corrected it and it finally works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, this DAX website,&amp;nbsp;&lt;A href="https://dax.guide/username/" target="_blank"&gt;https://dax.guide/username/&lt;/A&gt; states that USERNAME() returns DOMAIN\username and based on this my table checks for DOMAIN\username.&amp;nbsp; Now, I have added a CARD VISUAL on my report to show USERNAME() and lo and behold, on the desktop app,&amp;nbsp; it shows DOMAIN\username but on the portal it shows &lt;A href="mailto:username@DOMAIN.COM" target="_blank"&gt;username@DOMAIN.COM&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470011" data-lia-user-login="alosada" class="lia-mention lia-mention-user"&gt;alosada&lt;/a&gt; for all you inputs.&amp;nbsp; Surely your replies guided me in the right direction.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:49:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/2967799#M28088</guid>
      <dc:creator>cgaralde</dc:creator>
      <dc:date>2022-12-14T10:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Row Level Security works on Desktop but not on Server Portal</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/3652126#M32511</link>
      <description>&lt;P&gt;Try to set up the Row Level Security property of your report. In my example below I selected the role "Authorizer" then added the members who will access the report&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 16:26:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Row-Level-Security-works-on-Desktop-but-not-on-Server-Portal/m-p/3652126#M32511</guid>
      <dc:creator>AlainJimenez</dc:creator>
      <dc:date>2024-01-22T16:26:35Z</dc:date>
    </item>
  </channel>
</rss>

