<?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: Role of external agent in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Role-of-external-agent/m-p/2287848#M56166</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="295674" data-lia-user-login="giuliapiazza94" class="lia-mention lia-mention-user"&gt;giuliapiazza94&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to &lt;SPAN&gt;restrict data access for many users, please use &lt;STRONG&gt;&lt;EM&gt;username()&lt;/EM&gt;&amp;nbsp;or&amp;nbsp;&lt;EM&gt;userprincipalname() &lt;/EM&gt;&lt;/STRONG&gt;to &lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls" target="_self"&gt;configure RLS&lt;/A&gt; to enable dynamic data security.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example, please create roles--&amp;gt;select a table that has Account field--&amp;gt;write the DAX syntax as shown below. After publishing,&amp;nbsp;&amp;nbsp;go to Power BI service , select the dateset--&amp;gt; &lt;STRONG&gt;More options, select Security&lt;/STRONG&gt;--&amp;gt;&lt;STRONG&gt;Manage roles&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Account]=username()&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a blog talking about how to set&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Dynamic-Row-Level-Security-Dynamic-RLS/ba-p/787399" target="_self"&gt; Dynamic Row Level Security (Dynamic RLS)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Eyelyn Qin&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jan 2022 02:17:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-18T02:17:31Z</dc:date>
    <item>
      <title>Role of external agent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Role-of-external-agent/m-p/2282107#M55860</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have to do a report that I want to give an agent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This agent can see &lt;STRONG&gt;only&lt;/STRONG&gt; his data (his sales, his orders, etc).&lt;/P&gt;&lt;P&gt;I've published the report on Power BI web with a license PRO and I want to share it with him.&lt;/P&gt;&lt;P&gt;Do I need to use this? I don't know how write dax query to limite his email address (he must have an account with license PRO, right?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me, please?&lt;/P&gt;&lt;P&gt;Thank you all&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 16:32:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Role-of-external-agent/m-p/2282107#M55860</guid>
      <dc:creator>giuliapiazza94</dc:creator>
      <dc:date>2022-01-13T16:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Role of external agent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Role-of-external-agent/m-p/2282389#M55874</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You can create filter rules by pressing the "..." next to tables. Here is an RLS example, but I do recommend checking this documentation (it is quite good):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls&lt;/A&gt;&lt;BR /&gt;&lt;STRONG&gt;Example data:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rule:&lt;BR /&gt;&lt;/STRONG&gt;[Email] = "John.Doe@email.com"&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;By pressing view as I can check if this works:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To add users to a group check the documentation I linked.&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 19:17:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Role-of-external-agent/m-p/2282389#M55874</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-13T19:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Role of external agent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Role-of-external-agent/m-p/2287848#M56166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="295674" data-lia-user-login="giuliapiazza94" class="lia-mention lia-mention-user"&gt;giuliapiazza94&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to &lt;SPAN&gt;restrict data access for many users, please use &lt;STRONG&gt;&lt;EM&gt;username()&lt;/EM&gt;&amp;nbsp;or&amp;nbsp;&lt;EM&gt;userprincipalname() &lt;/EM&gt;&lt;/STRONG&gt;to &lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls" target="_self"&gt;configure RLS&lt;/A&gt; to enable dynamic data security.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example, please create roles--&amp;gt;select a table that has Account field--&amp;gt;write the DAX syntax as shown below. After publishing,&amp;nbsp;&amp;nbsp;go to Power BI service , select the dateset--&amp;gt; &lt;STRONG&gt;More options, select Security&lt;/STRONG&gt;--&amp;gt;&lt;STRONG&gt;Manage roles&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Account]=username()&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a blog talking about how to set&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Dynamic-Row-Level-Security-Dynamic-RLS/ba-p/787399" target="_self"&gt; Dynamic Row Level Security (Dynamic RLS)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Eyelyn Qin&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 02:17:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Role-of-external-agent/m-p/2287848#M56166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-18T02:17:31Z</dc:date>
    </item>
  </channel>
</rss>

