<?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() Multiple Value error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PATH-Multiple-Value-error/m-p/3513726#M134875</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="640431" data-lia-user-login="adamtsummers" class="lia-mention lia-mention-user"&gt;adamtsummers&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&amp;nbsp;So is there any alternative soultion rather than using PATH() for achieving&amp;nbsp;child-parent hierachy approach for above scenario?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 05:46:39 GMT</pubDate>
    <dc:creator>Quinn_Punisher8</dc:creator>
    <dc:date>2023-11-03T05:46:39Z</dc:date>
    <item>
      <title>PATH() Multiple Value error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PATH-Multiple-Value-error/m-p/3511300#M134733</link>
      <description>&lt;P&gt;I want to create a child-parent hierachy in Powerbi for below data where I have duplicate value in name column which have different Parents. Using PATH() and its giving error -&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;In such cases, how to create a Parent-Child Hierachy ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 07:13:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PATH-Multiple-Value-error/m-p/3511300#M134733</guid>
      <dc:creator>Quinn_Punisher8</dc:creator>
      <dc:date>2023-11-02T07:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: PATH() Multiple Value error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PATH-Multiple-Value-error/m-p/3511862#M134777</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its not possible to have a node with two different parents and use PATH -- its designed for a strict parent/child relationship which looks like a tree, eg:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By looking at the data that you have in your table, it looks like you have two&amp;nbsp;&lt;STRONG&gt;different&lt;/STRONG&gt; areas called MSS001, that are based in different countries (US and India). To be able to use path, your items need a unique name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/path-function-dax" target="_blank" rel="noopener"&gt;PATH function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll see the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ID_columnName&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has duplicates and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;parent_columnName&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the same for those duplicates then PATH() returns the common&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;parent_columnName&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;value; however, if&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;parent_columnName&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;value is different for those duplicates then PATH() returns an error. In other words, &lt;EM&gt;if you have two listings for the same employee ID and they have the same manager ID, the PATH function returns the ID for that manager. However, if there are two identical employee IDs that have different manager IDs, the PATH function returns an error.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 11:28:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PATH-Multiple-Value-error/m-p/3511862#M134777</guid>
      <dc:creator>adamtsummers</dc:creator>
      <dc:date>2023-11-02T11:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: PATH() Multiple Value error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PATH-Multiple-Value-error/m-p/3513726#M134875</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="640431" data-lia-user-login="adamtsummers" class="lia-mention lia-mention-user"&gt;adamtsummers&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&amp;nbsp;So is there any alternative soultion rather than using PATH() for achieving&amp;nbsp;child-parent hierachy approach for above scenario?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 05:46:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PATH-Multiple-Value-error/m-p/3513726#M134875</guid>
      <dc:creator>Quinn_Punisher8</dc:creator>
      <dc:date>2023-11-03T05:46:39Z</dc:date>
    </item>
  </channel>
</rss>

