Forum Discussion
DAX PATH function Error
Hi, Anonymous
Looking for the parent node, what is the output you expect? Based on the limitations of the PATH function, your source data format does not quite meet the requirements of the formula.
If you want to see if [target] appears in [source], you can try the following.
Column = IF([target] in VALUES('Table'[source]),1,0)
If this doesn't solve your problem, please let us know what you were expecting.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-zhangti,
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 the selected source node and its target node when applying source and target filter. So I am trying to find a workaround and I found this solution which says PATH and PATHCONTAINS DAX functions will help. https://community.powerbi.com/t5/Desktop/Filter-for-entire-quot-chain-quot-in-network-sankey-chart-not/m-p/345872 . But when I tried, I meet the issue described in this ticket.
how can i achieve?
Thanks,
Cherie