<?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: creating Hierarchy : Fields Names must be unique in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536795#M1144242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;do&lt;/STRONG&gt;&lt;/SPAN&gt; have duplicate names... but it is probably not easy to spot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The three first parameters of the Hierarchy prefix are &lt;EM&gt;&lt;STRONG&gt;input&lt;/STRONG&gt;&lt;/EM&gt; parameters. The 4th is an &lt;EM&gt;&lt;STRONG&gt;output&lt;/STRONG&gt;&lt;/EM&gt; parameter. This means that the prefix creates a field "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;hhparentname&lt;/SPAN&gt;" (4th parameter) when you already have a "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;hhparentname&lt;/SPAN&gt;" in the load statement. Rename one of them, and it will probably work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Aug 2013 15:15:58 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2013-08-27T15:15:58Z</dc:date>
    <item>
      <title>creating Hierarchy : Fields Names must be unique</title>
      <link>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536794#M1144241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm trying to figure out what I can do with the hierarchy function but I'm unable to use it because I always get an error message&lt;/P&gt;&lt;P&gt;"Fields Names must be unique within table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The load is however very simple and I can't see any duplicate field name ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong ?&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ccx:&lt;/P&gt;&lt;P&gt;Hierarchy(hhcompanyid,hhparentid,hhcompanyname,hhparentname)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;hcompanyid as hhcompanyid,&lt;/P&gt;&lt;P&gt;hparentid as hhparentid,&lt;/P&gt;&lt;P&gt;hcompanyname as hhcompanyname,&lt;/P&gt;&lt;P&gt;hparentname as hhparentname&lt;/P&gt;&lt;P&gt;resident ccy;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 15:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536794#M1144241</guid>
      <dc:creator />
      <dc:date>2013-08-27T15:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: creating Hierarchy : Fields Names must be unique</title>
      <link>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536795#M1144242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;do&lt;/STRONG&gt;&lt;/SPAN&gt; have duplicate names... but it is probably not easy to spot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The three first parameters of the Hierarchy prefix are &lt;EM&gt;&lt;STRONG&gt;input&lt;/STRONG&gt;&lt;/EM&gt; parameters. The 4th is an &lt;EM&gt;&lt;STRONG&gt;output&lt;/STRONG&gt;&lt;/EM&gt; parameter. This means that the prefix creates a field "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;hhparentname&lt;/SPAN&gt;" (4th parameter) when you already have a "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;hhparentname&lt;/SPAN&gt;" in the load statement. Rename one of them, and it will probably work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 15:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536795#M1144242</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-08-27T15:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: creating Hierarchy : Fields Names must be unique</title>
      <link>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536796#M1144243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Henric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed not easy to spot !&lt;/P&gt;&lt;P&gt;I did just find it before your answer after 1001th try of everything&lt;/P&gt;&lt;P&gt;I understand a little bit better now&lt;/P&gt;&lt;P&gt;BTW : Can I get another name than "Path" for the result &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 15:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536796#M1144243</guid>
      <dc:creator />
      <dc:date>2013-08-27T15:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: creating Hierarchy : Fields Names must be unique</title>
      <link>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536797#M1144244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can use any name you want for PathName. The full syntax is&lt;/P&gt;&lt;P&gt;Hierarchy (NodeID, ParentID, NodeName, ParentName, PathSource, PathName, PathDelimiter, Depth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ParentName, PathName and Depth are output parameters: Strings that are used as names for the created fields. &lt;/P&gt;&lt;P&gt;NodeID, ParentID, NodeName, PathSource are input parameters - fields that should exist in the Load statement.&lt;/P&gt;&lt;P&gt;Finally, PathDelimiter should be a literal - one single string valid for all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 16:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-Hierarchy-Fields-Names-must-be-unique/m-p/536797#M1144244</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-08-27T16:00:39Z</dc:date>
    </item>
  </channel>
</rss>

