<?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: RLS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS/m-p/2539720#M71506</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="365283" data-lia-user-login="simona0808" class="lia-mention lia-mention-user"&gt;simona0808&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;Using the username() or userprincipalname() DAX function&lt;/H2&gt;&lt;P&gt;You can take advantage of the DAX functions&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;userprincipalname()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;within your dataset. You can use them within expressions in Power BI Desktop. When you publish your model, it will be used within the Power BI service.&lt;/P&gt;&lt;P&gt;Within Power BI Desktop,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will return a user in the format of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;DOMAIN\User&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;userprincipalname()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will return a user in the format of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;user@contoso.com&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Within the Power BI service,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;userprincipalname()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will both return the user's User Principal Name (UPN). This looks similar to an email address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#manage-security-on-your-model" target="_blank" rel="noopener"&gt;Row-level security (RLS) with Power BI - Power BI | Microsoft Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 17:58:09 GMT</pubDate>
    <dc:creator>ribisht17</dc:creator>
    <dc:date>2022-05-25T17:58:09Z</dc:date>
    <item>
      <title>RLS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS/m-p/2539391#M71488</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I have an app with 2 reports. The first report is the main one including sensitive data, whereas the second report could be shared with everyone(no restrictions). What I want to achieve is to create a group with users give them access only to report 2 and restrict them from report 1. The reports should be in one app. Does someone have any suggestions how this could be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 15:21:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS/m-p/2539391#M71488</guid>
      <dc:creator>simona0808</dc:creator>
      <dc:date>2022-05-25T15:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: RLS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS/m-p/2539720#M71506</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="365283" data-lia-user-login="simona0808" class="lia-mention lia-mention-user"&gt;simona0808&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;Using the username() or userprincipalname() DAX function&lt;/H2&gt;&lt;P&gt;You can take advantage of the DAX functions&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;userprincipalname()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;within your dataset. You can use them within expressions in Power BI Desktop. When you publish your model, it will be used within the Power BI service.&lt;/P&gt;&lt;P&gt;Within Power BI Desktop,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will return a user in the format of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;DOMAIN\User&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;userprincipalname()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will return a user in the format of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;user@contoso.com&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Within the Power BI service,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;username()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;userprincipalname()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will both return the user's User Principal Name (UPN). This looks similar to an email address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#manage-security-on-your-model" target="_blank" rel="noopener"&gt;Row-level security (RLS) with Power BI - Power BI | Microsoft Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 17:58:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS/m-p/2539720#M71506</guid>
      <dc:creator>ribisht17</dc:creator>
      <dc:date>2022-05-25T17:58:09Z</dc:date>
    </item>
  </channel>
</rss>

