<?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: Filtering dashboards in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1862190#M29576</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/303076"&gt;@trushna&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Did you mind adding an additional field to the user table? &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If that is the case, I'd like to suggest you add the is_Manage field for the advanced filter effect. Then you can modify the filter expressions to check the user id and is_Manage field.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If the current user is a manager, then you can filter on the other field(e.g. department, group) instead of the 'user id' field to show all records he has permission to view.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Logic:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;1. Use 'username' function to get 'user id' and correspond 'is manage' field values.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;2. If the current user is a manager, filter on the parent field(group/department) that he manages;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If he isn't a manager, filter on the 'user id' field.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 09:19:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-25T09:19:39Z</dc:date>
    <item>
      <title>Filtering dashboards</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1852996#M29502</link>
      <description>&lt;P&gt;I have a requirement to create different dashboards for different User roles, and which will be displayed to that user role only&lt;/P&gt;&lt;P&gt;Eg. : If Manager will log in into CRM then associated dashboard will be shown to him and if Sales person will log in then his dashboard will be shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me how can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49127"&gt;@Patrik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 06:11:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1852996#M29502</guid>
      <dc:creator>trushna</dc:creator>
      <dc:date>2021-05-20T06:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering dashboards</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1858992#M29541</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/303076"&gt;@trushna&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can take a look at the following link to use the USERNAME function to achieve dynamic RLS roles:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/RLS-with-UserName/m-p/82327" target="_blank"&gt;Solved: RLS with UserName() - Microsoft Power BI Community&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;For the manager/user level filter, you can create&amp;nbsp;a 'user_manger' mapping table with 'user id' and 'manger id'. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Then you can modify the RLS filter expression to lookup correspond 'user id' from the user table and filter 'user_manger' table 'manger id' and 'user id' fields with 'OR' logic and apply filter effects to other tables based on relationships.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 01:53:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1858992#M29541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-24T01:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering dashboards</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1859261#M29552</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in my case I dont want to use "Manage role" feature of power bi.&lt;/P&gt;&lt;P&gt;Is there any alternative to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 05:29:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1859261#M29552</guid>
      <dc:creator>trushna</dc:creator>
      <dc:date>2021-05-24T05:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering dashboards</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1862190#M29576</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/303076"&gt;@trushna&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Did you mind adding an additional field to the user table? &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If that is the case, I'd like to suggest you add the is_Manage field for the advanced filter effect. Then you can modify the filter expressions to check the user id and is_Manage field.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If the current user is a manager, then you can filter on the other field(e.g. department, group) instead of the 'user id' field to show all records he has permission to view.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Logic:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;1. Use 'username' function to get 'user id' and correspond 'is manage' field values.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;2. If the current user is a manager, filter on the parent field(group/department) that he manages;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If he isn't a manager, filter on the 'user id' field.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 09:19:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filtering-dashboards/m-p/1862190#M29576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-25T09:19:39Z</dc:date>
    </item>
  </channel>
</rss>

