<?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 DAX  PATH function Error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2756972#M85265</link>
    <description>&lt;P&gt;hello team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. i have below sample data in csv which is used to create sankey chart in PowerBI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Now I want to create a new column to find the parent node for each target node. I want to use DAX&amp;nbsp; PATH function to achieve this, but I got an error. "&amp;nbsp;&lt;FONT color="#FF0000"&gt;The value 'open_list_view_1' in 'test'[source] must also exist in 'test'[target]. Please add the missing data and try again.&lt;/FONT&gt;"&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cherie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 07:44:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-18T07:44:14Z</dc:date>
    <item>
      <title>DAX  PATH function Error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2756972#M85265</link>
      <description>&lt;P&gt;hello team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. i have below sample data in csv which is used to create sankey chart in PowerBI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Now I want to create a new column to find the parent node for each target node. I want to use DAX&amp;nbsp; PATH function to achieve this, but I got an error. "&amp;nbsp;&lt;FONT color="#FF0000"&gt;The value 'open_list_view_1' in 'test'[source] must also exist in 'test'[target]. Please add the missing data and try again.&lt;/FONT&gt;"&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cherie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 07:44:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2756972#M85265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-18T07:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: DAX  PATH function Error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2757028#M85266</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , The parent value should be there on the child side &lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/path-function-dax#remarks" target="_blank"&gt;https://docs.microsoft.com/en-us/dax/path-function-dax#remarks&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 04:34:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2757028#M85266</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-09-09T04:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX  PATH function Error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2763920#M85770</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking for the parent node, what is the output you expect?&amp;nbsp;Based on the limitations of the PATH function, your source data format does not quite meet the requirements of the formula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to see if [target] appears in [source], you can try the following.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = IF([target] in VALUES('Table'[source]),1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If this doesn't solve your problem, please let us know what you were expecting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 09:40:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2763920#M85770</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2022-09-13T09:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX  PATH function Error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2765737#M85887</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;do you mean that switch the two paramters of PATH function. I tried with below, and still failed.&lt;/P&gt;&lt;P&gt;Column = PATH(test[source], test[target])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cherie&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 02:08:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2765737#M85887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-14T02:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: DAX  PATH function Error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2765772#M85889</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332147" data-lia-user-login="v-zhangti" class="lia-mention lia-mention-user"&gt;v-zhangti&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. My goal is that I can filter the whole sankey chian when filtering by sankey and chart. Right now, the powerBI only returns&amp;nbsp;the selected source node and its target node when applying source and target filter. &amp;nbsp;So I am trying to find a workaround and I found this solution which says&amp;nbsp;PATH and PATHCONTAINS DAX functions will help.&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/Filter-for-entire-quot-chain-quot-in-network-sankey-chart-not/m-p/345872" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Filter-for-entire-quot-chain-quot-in-network-sankey-chart-not/m-p/345872&lt;/A&gt;&amp;nbsp;. But when I tried, I meet the issue described in this ticket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i achieve?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cherie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 02:21:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-PATH-function-Error/m-p/2765772#M85889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-14T02:21:47Z</dc:date>
    </item>
  </channel>
</rss>

