<?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: Hierarchy Chart (Org Chart) &amp;amp; Row Level Secutity (RLS) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-Chart-Org-Chart-amp-Row-Level-Secutity-RLS/m-p/1445767#M27092</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , refer if these can help you &lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi" target="_blank"&gt;https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies" target="_blank"&gt;https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 01:29:56 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-10-21T01:29:56Z</dc:date>
    <item>
      <title>Hierarchy Chart (Org Chart) &amp; Row Level Secutity (RLS)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-Chart-Org-Chart-amp-Row-Level-Secutity-RLS/m-p/1445758#M27091</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m trying to set up Row Level Security on a report based on HR Data&lt;/P&gt;&lt;P&gt;And I am trying to do an org chart for the organisation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Way it works:&lt;/P&gt;&lt;P&gt;An employee has a position number, and that position number reports to another position number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is:&lt;/P&gt;&lt;P&gt;An employee can be acting in another position (Thus have two position numbers)&lt;/P&gt;&lt;P&gt;An Employee can be in two or more positions and thus have multiple positions.&lt;/P&gt;&lt;P&gt;A position can have multiple employees&lt;/P&gt;&lt;P&gt;A position with multiple employees can be job shared and thus&amp;nbsp; position reports to only one position has two people split (e.g. one on Mon-Wed and the other Thu – Fri)&lt;/P&gt;&lt;P&gt;Users on leave (either Long Service, Annual, Merterniaty are technically in their position, but someone else would be acting)&lt;/P&gt;&lt;P&gt;With the above, another person might be acting in their position, or they are undertaking both positions/roles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone come across this and worked out how this can be achieved as I have used the &lt;STRONG&gt;PATH&lt;/STRONG&gt; and &lt;STRONG&gt;LOOKUPVALUE,&lt;/STRONG&gt; but it gets stuck when there are multiple values in return, and it expects only one to be returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Path =

PATH (

    'EmployeeInfo'[PositionNumber],

    'EmployeeInfo'[ReportsTo]

)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Level 1 =

LOOKUPVALUE (

    'EmployeeInfo'[Employee_Name],

    'EmployeeInfo'[PositionNumber], PATHITEM ( 'EmployeeInfo'[Path], 1, 0 )

)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I get to level 3 is when I get multiple and I have a seven levels&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 01:22:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-Chart-Org-Chart-amp-Row-Level-Secutity-RLS/m-p/1445758#M27091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-21T01:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Chart (Org Chart) &amp; Row Level Secutity (RLS)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-Chart-Org-Chart-amp-Row-Level-Secutity-RLS/m-p/1445767#M27092</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , refer if these can help you &lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi" target="_blank"&gt;https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies" target="_blank"&gt;https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 01:29:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-Chart-Org-Chart-amp-Row-Level-Secutity-RLS/m-p/1445767#M27092</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-10-21T01:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Chart (Org Chart) &amp; Row Level Secutity (RLS)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-Chart-Org-Chart-amp-Row-Level-Secutity-RLS/m-p/1445805#M27097</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response, and I have used the radacad code.&lt;/P&gt;&lt;P&gt;But that works on a one to one&amp;nbsp;&lt;/P&gt;&lt;P&gt;A position number reports to one position number, but&lt;/P&gt;&lt;P&gt;I want to display the employee name as well which could be 2 or more employees.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 01:57:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-Chart-Org-Chart-amp-Row-Level-Secutity-RLS/m-p/1445805#M27097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-21T01:57:21Z</dc:date>
    </item>
  </channel>
</rss>

