<?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: PATH() function error in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PATH-function-error/m-p/3764922#M33604</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="705967" data-lia-user-login="Pk41" class="lia-mention lia-mention-user"&gt;Pk41&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The PATH function requires a consistent link between the child ID and the parent ID to construct the hierarchy. If a Manager ID exists that does not have a corresponding Employee ID, the hierarchy path is broken, resulting in an error. The following is a concise plan of action to resolve this issue:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Create Placeholder Employee Records&lt;/STRONG&gt;: For each unique Manager ID that does not have a corresponding Employee ID, create a Placeholder Employee Record. This ensures that each Manager ID can be linked back to the Employee ID, even if it is a dummy record. This method maintains the integrity of the hierarchy.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Handling Missing IDs with DAX&lt;/STRONG&gt;: Implement DAX formulas to check for missing Employee IDs and replace them with placeholder IDs. this can be done using the ISBLANK function in DAX to check for and handle missing values.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&lt;EM&gt;&lt;STRONG&gt; helps&lt;/STRONG&gt;&lt;/EM&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;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 02:42:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-03-15T02:42:02Z</dc:date>
    <item>
      <title>PATH() function error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PATH-function-error/m-p/3764232#M33594</link>
      <description>&lt;P&gt;I am trying to use the PATH function to get an organizational hierarchy for performing RLS&lt;BR /&gt;However, there are multiple "employee IDs" that are available in the "manager ID" column but not in the "employee I'd column" Because of this I cannot use the PATH function&lt;BR /&gt;Please provide any workaround for this&lt;BR /&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 18:01:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PATH-function-error/m-p/3764232#M33594</guid>
      <dc:creator>Pk41</dc:creator>
      <dc:date>2024-03-14T18:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: PATH() function error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PATH-function-error/m-p/3764922#M33604</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="705967" data-lia-user-login="Pk41" class="lia-mention lia-mention-user"&gt;Pk41&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The PATH function requires a consistent link between the child ID and the parent ID to construct the hierarchy. If a Manager ID exists that does not have a corresponding Employee ID, the hierarchy path is broken, resulting in an error. The following is a concise plan of action to resolve this issue:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Create Placeholder Employee Records&lt;/STRONG&gt;: For each unique Manager ID that does not have a corresponding Employee ID, create a Placeholder Employee Record. This ensures that each Manager ID can be linked back to the Employee ID, even if it is a dummy record. This method maintains the integrity of the hierarchy.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Handling Missing IDs with DAX&lt;/STRONG&gt;: Implement DAX formulas to check for missing Employee IDs and replace them with placeholder IDs. this can be done using the ISBLANK function in DAX to check for and handle missing values.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&lt;EM&gt;&lt;STRONG&gt; helps&lt;/STRONG&gt;&lt;/EM&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;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 02:42:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PATH-function-error/m-p/3764922#M33604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-15T02:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: PATH() function error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PATH-function-error/m-p/4076572#M36260</link>
      <description>&lt;P&gt;HI, I AM getting below error while using path function - please help&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;</description>
      <pubDate>Fri, 02 Aug 2024 17:40:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PATH-function-error/m-p/4076572#M36260</guid>
      <dc:creator>anoomohan</dc:creator>
      <dc:date>2024-08-02T17:40:27Z</dc:date>
    </item>
  </channel>
</rss>

