<?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: PBIRS Built-In Fields for PBIX in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3281431#M30108</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="106875" data-lia-user-login="mpsrshl" class="lia-mention lia-mention-user"&gt;mpsrshl&lt;/a&gt;&amp;nbsp;&amp;nbsp;Thank you for the reply, we have tried this but unfortunately the user details are the Windows credentials used to access the tabular model rather than the user who is logged into the web app.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 10:37:10 GMT</pubDate>
    <dc:creator>TKenny90</dc:creator>
    <dc:date>2023-06-13T10:37:10Z</dc:date>
    <item>
      <title>PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3276646#M30064</link>
      <description>&lt;P&gt;We have PBIRS server setup and we are using rdl and pbix files on there. The Report Server is embeded into a web app which various users use. We need to be able to restrict what each user sees on the paginated reports and the Power BI reports. For the paginated reports we are using the Built-In field of UserId. Is this available on the Power BI reports too, or is it restricted to just the paginated reports?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 13:14:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3276646#M30064</guid>
      <dc:creator>TKenny90</dc:creator>
      <dc:date>2023-06-09T13:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277437#M30067</link>
      <description>&lt;P&gt;There is a similar function you can use in Power BI reports.&amp;nbsp; See&amp;nbsp;&lt;A title="Row-level security in Power BI Report Server" href="https://learn.microsoft.com/en-us/power-bi/report-server/row-level-security-report-server" target="_self"&gt;Row-level security in Power BI Report Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN&gt;You can use&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;. Be aware that&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;has the format of&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;DOMAIN\username&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;within Power BI Desktop. Within the Power BI service and Power BI Report Server, it's in the format of the user's User Principal Name (UPN). Alternatively, you can use&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;userprincipalname()&lt;/EM&gt;&lt;SPAN&gt;, which always returns the user in the format of their user principal name,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username@contoso.com&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 02:51:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277437#M30067</guid>
      <dc:creator>Shahfaisal</dc:creator>
      <dc:date>2023-06-10T02:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277743#M30071</link>
      <description>&lt;P&gt;Thanks for the response, we have considered this but as we have hundreds of clients with multiple users we can't feasibly setup the number of Windows accounts it would need. Is the UserPrincipalName taken from the Windows credentials? And how would this be visible to us in Power BI Desktop please?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 14:01:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277743#M30071</guid>
      <dc:creator>TKenny90</dc:creator>
      <dc:date>2023-06-10T14:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277792#M30073</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="573433" data-lia-user-login="TKenny90" class="lia-mention lia-mention-user"&gt;TKenny90&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thanks for the response, we have considered this but as we have hundreds of clients with multiple users we can't feasibly setup the number of Windows accounts it would need. Is the UserPrincipalName taken from the Windows credentials? And how would this be visible to us in Power BI Desktop please?&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This should be no different than how you've setup the paginated reports. You mentioned you have hundres fo clients, how do you intend to setup security for them if you don't want to create those accounts? The user accounts should exist somewhere to be able to use them in Power BI.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 21:45:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277792#M30073</guid>
      <dc:creator>Shahfaisal</dc:creator>
      <dc:date>2023-06-12T21:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277827#M30075</link>
      <description>&lt;P&gt;We set permissions in a web app as to which branches a user can see. The user has an ID in the web app which is then fed through to a paginated report via custom auth. We pick this up in the UserId field (normally where I'd see the Windows user) for paginated reports and use this to filter branches based in what they can see in the web app. I was hoping I would be able to pick this UserId in a PBI report as I can the paginated reports?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The paginated reports and PBI reports both have Windows credentials to return the data from the data sources, which is one account per customer for us.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:38:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277827#M30075</guid>
      <dc:creator>TKenny90</dc:creator>
      <dc:date>2023-06-10T20:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277901#M30078</link>
      <description>&lt;P&gt;I think you should be able to make it work. I haven't done something like this myself but see this forum post - &lt;A href="https://stackoverflow.com/questions/53164720/custom-authentication-in-powerbi" target="_self"&gt;Custom Authentication in PowerBI&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:52:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3277901#M30078</guid>
      <dc:creator>Shahfaisal</dc:creator>
      <dc:date>2023-06-10T23:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3278638#M30082</link>
      <description>&lt;P&gt;I hope this helps, you can create the following role inside the PBI file, considering you are using the window user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[EmployeeID] =&lt;BR /&gt;MAXX(&lt;BR /&gt;FILTER (&lt;BR /&gt;all('Employee'),&lt;BR /&gt;'Employee'[Email] = USERPRINCIPALNAME ()&lt;BR /&gt;|| 'Employee'[LDAPAccountID]&lt;BR /&gt;= MID ( USERPRINCIPALNAME (), 1, FIND ( "@", USERPRINCIPALNAME (), 1 ) - 1 )&lt;BR /&gt;),&lt;BR /&gt;'Employee'[EmployeeID]&lt;BR /&gt;)&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 03:54:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3278638#M30082</guid>
      <dc:creator>mpsrshl</dc:creator>
      <dc:date>2023-06-12T03:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: PBIRS Built-In Fields for PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3281431#M30108</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="106875" data-lia-user-login="mpsrshl" class="lia-mention lia-mention-user"&gt;mpsrshl&lt;/a&gt;&amp;nbsp;&amp;nbsp;Thank you for the reply, we have tried this but unfortunately the user details are the Windows credentials used to access the tabular model rather than the user who is logged into the web app.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 10:37:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PBIRS-Built-In-Fields-for-PBIX/m-p/3281431#M30108</guid>
      <dc:creator>TKenny90</dc:creator>
      <dc:date>2023-06-13T10:37:10Z</dc:date>
    </item>
  </channel>
</rss>

