<?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 QLIKSENSE - Hierarchy - Find Father! in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523177#M106746</link>
    <description>&lt;P&gt;Dear Qlik Users,&lt;BR /&gt;I'm facing since 1 week an issue concerning link between father and son.&lt;BR /&gt;What I want to do ? Create a hierarchy but before I should to find the father of each son.&lt;BR /&gt;but how to proceed ?&lt;/P&gt;&lt;P&gt;LEVEL 0 is the highest “father” level. The father of level N is the last son of level N-1&lt;/P&gt;&lt;P&gt;Below an example of data (source) :&lt;BR /&gt;LEVEL, CODE&lt;BR /&gt;0, CODE0&lt;BR /&gt;1, CODE1&lt;BR /&gt;1, CODE2&lt;BR /&gt;2, CODE3&lt;BR /&gt;2, CODE4&lt;BR /&gt;2, CODE5&lt;BR /&gt;3, CODE6&lt;BR /&gt;3, CODE7&lt;BR /&gt;3, CODE8&lt;BR /&gt;3, CODE9&lt;BR /&gt;4, CODE10&lt;BR /&gt;4, CODE11&lt;BR /&gt;4, CODE12&lt;BR /&gt;3, CODE13&lt;BR /&gt;2, CODE14&lt;BR /&gt;2, CODE15&lt;BR /&gt;2, CODE16&lt;BR /&gt;3, CODE17&lt;BR /&gt;4, CODE18&lt;BR /&gt;5, CODE19&lt;BR /&gt;3, CODE20&lt;BR /&gt;4, CODE21&lt;BR /&gt;1, CODE22&lt;BR /&gt;2, CODE23&lt;/P&gt;&lt;P&gt;Could you help me? If you have ever done this type of job or if you know some posts it could be great...&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;key words :&amp;nbsp;recurcivity, hierarchy, Father and Son&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jul 2025 09:33:39 GMT</pubDate>
    <dc:creator>Cyril_63</dc:creator>
    <dc:date>2025-07-04T09:33:39Z</dc:date>
    <item>
      <title>QLIKSENSE - Hierarchy - Find Father!</title>
      <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523177#M106746</link>
      <description>&lt;P&gt;Dear Qlik Users,&lt;BR /&gt;I'm facing since 1 week an issue concerning link between father and son.&lt;BR /&gt;What I want to do ? Create a hierarchy but before I should to find the father of each son.&lt;BR /&gt;but how to proceed ?&lt;/P&gt;&lt;P&gt;LEVEL 0 is the highest “father” level. The father of level N is the last son of level N-1&lt;/P&gt;&lt;P&gt;Below an example of data (source) :&lt;BR /&gt;LEVEL, CODE&lt;BR /&gt;0, CODE0&lt;BR /&gt;1, CODE1&lt;BR /&gt;1, CODE2&lt;BR /&gt;2, CODE3&lt;BR /&gt;2, CODE4&lt;BR /&gt;2, CODE5&lt;BR /&gt;3, CODE6&lt;BR /&gt;3, CODE7&lt;BR /&gt;3, CODE8&lt;BR /&gt;3, CODE9&lt;BR /&gt;4, CODE10&lt;BR /&gt;4, CODE11&lt;BR /&gt;4, CODE12&lt;BR /&gt;3, CODE13&lt;BR /&gt;2, CODE14&lt;BR /&gt;2, CODE15&lt;BR /&gt;2, CODE16&lt;BR /&gt;3, CODE17&lt;BR /&gt;4, CODE18&lt;BR /&gt;5, CODE19&lt;BR /&gt;3, CODE20&lt;BR /&gt;4, CODE21&lt;BR /&gt;1, CODE22&lt;BR /&gt;2, CODE23&lt;/P&gt;&lt;P&gt;Could you help me? If you have ever done this type of job or if you know some posts it could be great...&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;key words :&amp;nbsp;recurcivity, hierarchy, Father and Son&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 09:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523177#M106746</guid>
      <dc:creator>Cyril_63</dc:creator>
      <dc:date>2025-07-04T09:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKSENSE - Hierarchy - Find Father!</title>
      <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523178#M106747</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the fonction Hierachy or HierachyBelongTo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hierarchy(LEVEL, FATHER, CODE)&lt;BR /&gt;Load&lt;BR /&gt;LEVEL,&lt;BR /&gt;CODE,&lt;BR /&gt;If(LEVEL = 0, 0, LEVEL - 1) as FATHER&lt;BR /&gt;Inline [&lt;BR /&gt;LEVEL, CODE&lt;BR /&gt;0, CODE0&lt;BR /&gt;1, CODE1&lt;BR /&gt;1, CODE2&lt;BR /&gt;2, CODE3&lt;BR /&gt;2, CODE4&lt;BR /&gt;2, CODE5&lt;BR /&gt;3, CODE6&lt;BR /&gt;3, CODE7&lt;BR /&gt;3, CODE8&lt;BR /&gt;3, CODE9&lt;BR /&gt;4, CODE10&lt;BR /&gt;4, CODE11&lt;BR /&gt;4, CODE12&lt;BR /&gt;3, CODE13&lt;BR /&gt;2, CODE14&lt;BR /&gt;2, CODE15&lt;BR /&gt;2, CODE16&lt;BR /&gt;3, CODE17&lt;BR /&gt;4, CODE18&lt;BR /&gt;5, CODE19&lt;BR /&gt;3, CODE20&lt;BR /&gt;4, CODE21&lt;BR /&gt;1, CODE22&lt;BR /&gt;2, CODE23&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aurélien&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 09:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523178#M106747</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2025-07-04T09:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKSENSE - Hierarchy - Find Father!</title>
      <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523189#M106748</link>
      <description>&lt;P&gt;Hi Aurelien,&lt;/P&gt;&lt;P&gt;Thank you for your proposal solution. But it's not that simple.&lt;/P&gt;&lt;P&gt;The LEVEL is not an unique ID. The LEVEL explains a level on the hierarchy. For example :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CODE1 and CODE2 are sons of&amp;nbsp;CODE0,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CODE3,&amp;nbsp;CODE4 and&amp;nbsp;CODE5 are sons of&amp;nbsp;CODE2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CODE22 is son of&amp;nbsp;CODE0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The previous level is not necessarily the father &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 10:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523189#M106748</guid>
      <dc:creator>Cyril_63</dc:creator>
      <dc:date>2025-07-04T10:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKSENSE - Hierarchy - Find Father!</title>
      <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523203#M106753</link>
      <description>&lt;P&gt;This should be helpful:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Member-Articles/Hierarchies/ta-p/1487801" target="_blank"&gt;Hierarchies - Qlik Community - 1487801&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 12:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523203#M106753</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-04T12:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKSENSE - Hierarchy - Find Father!</title>
      <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523229#M106757</link>
      <description>&lt;P&gt;Good afternoon&amp;nbsp;M&lt;SPAN&gt;arcus_sommer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for the link, I've seen it. It explains very well "how to use" Hierarchy function. However, the “Parent_ID” field is missing from my data source. This is the subject of this message. How do I create this missing column...?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cyril&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 13:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523229#M106757</guid>
      <dc:creator>Cyril_63</dc:creator>
      <dc:date>2025-07-04T13:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKSENSE - Hierarchy - Find Father!</title>
      <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523238#M106762</link>
      <description>&lt;P&gt;I think the suggested Level - 1 approach goes already in the right direction. If the Level isn't unique you need to add more logic, maybe by wrapping it into n (nested) if-loops - maybe by evaluating the load-order. This might be done within a sorted resident-load and interrecord-functions like previous() and peek().&lt;/P&gt;&lt;P&gt;Further thinkable may the use of exists(), fieldvalue() or lookup() - but it will need a clear logic to the existing data to get&amp;nbsp;valid results respectively you may need more relevant information like a creation/change timestamp or something else. Or in short: the raw-information must be within the data to be able to derive any extending-data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 14:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523238#M106762</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-04T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKSENSE - Hierarchy - Find Father!</title>
      <link>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523351#M106779</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;After hours and hours of patience and trying, I've found a solution in attached file.&lt;/P&gt;&lt;P&gt;As I'm not a Qlik script expert, please bear with me.&lt;/P&gt;&lt;P&gt;I hope it helps someone. Feel free to use and modify it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 14:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIKSENSE-Hierarchy-Find-Father/m-p/2523351#M106779</guid>
      <dc:creator>Cyril_63</dc:creator>
      <dc:date>2025-07-07T14:57:19Z</dc:date>
    </item>
  </channel>
</rss>

