<?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: BOM - Hierarchy in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/BOM-Hierarchy/m-p/2482344#M100921</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I can see two possible ways to solve this problem:&lt;/P&gt;
&lt;P&gt;1. You can "flatten" the BOM by loading a pre-defined number of levels into a single table, with separate fields for each level's material, quantity, etc...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You can load the hierarchical data into a hierarchical data structure, using keywords "Hierarchy" and "HierarchyBelongsTo"&lt;BR /&gt;&lt;BR /&gt;See Qlik Sense Help for these topics:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Hierarchy.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Hierarchy.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/HierarchyBelongsTo.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/HierarchyBelongsTo.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 17:58:21 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2024-09-18T17:58:21Z</dc:date>
    <item>
      <title>BOM - Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/BOM-Hierarchy/m-p/2482304#M100919</link>
      <description>&lt;P&gt;Dear all,&lt;BR /&gt;&lt;BR /&gt;currently I'm trying to display multidimensional BOM's in Qlik Sense. I already read every community post. but unfortunately it did not help me.&amp;nbsp;&lt;BR /&gt;In my original BOM table there is the ParentID, ChildID, ParentMaterialNo,&amp;nbsp;ChildMaterialNo,&amp;nbsp;ParentDescription,&amp;nbsp; ChildDescription and Quantity. What is missing is the field 'Level' or 'Depth' or something like that. At the moment I'm just able to display a&amp;nbsp;one-dimensional BOM. What I need is at least a two-dimensional BOM and in the best case all the dimensions.&amp;nbsp;&lt;BR /&gt;The result table should look like that:&lt;BR /&gt;&lt;BR /&gt;Level | ParentMaterialNo |&amp;nbsp;ParentDescription | ChildMaterialNo |&amp;nbsp;ChildDescription | Quantity&lt;BR /&gt;&lt;BR /&gt;I would be very grateful for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 14:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/BOM-Hierarchy/m-p/2482304#M100919</guid>
      <dc:creator>df_qlik</dc:creator>
      <dc:date>2024-09-18T14:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: BOM - Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/BOM-Hierarchy/m-p/2482344#M100921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I can see two possible ways to solve this problem:&lt;/P&gt;
&lt;P&gt;1. You can "flatten" the BOM by loading a pre-defined number of levels into a single table, with separate fields for each level's material, quantity, etc...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You can load the hierarchical data into a hierarchical data structure, using keywords "Hierarchy" and "HierarchyBelongsTo"&lt;BR /&gt;&lt;BR /&gt;See Qlik Sense Help for these topics:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Hierarchy.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Hierarchy.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/HierarchyBelongsTo.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/HierarchyBelongsTo.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 17:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/BOM-Hierarchy/m-p/2482344#M100921</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2024-09-18T17:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: BOM - Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/BOM-Hierarchy/m-p/2482436#M100926</link>
      <description>&lt;P&gt;Hi Oleg,&lt;/P&gt;
&lt;P&gt;thank you for replying. Actually I tried to use both functions&amp;nbsp;&lt;SPAN&gt;"Hierarchy" and "HierarchyBelongsTo", but did not get the&amp;nbsp;desired result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's what I tried:&lt;BR /&gt;&lt;BR /&gt;BOM_Hierarchy:&lt;BR /&gt;Hierarchy(ChildID, ParentID, NodeName, 'ParentPath','/' ,Depth)&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;ParentID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;ChildID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;ParentMaterialNo,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; ChildMaterialNo,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; ParentDescription,&amp;nbsp; &lt;BR /&gt;&amp;nbsp; ChildDescription,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;ChildDescription as NodeName,&lt;BR /&gt;&amp;nbsp; Quantity&lt;BR /&gt;FROM [lib://QVD/BOM.qvd]&lt;BR /&gt;&lt;BR /&gt;Do you have an advice? With the script above I can see the Depth, but I still can not display more than two levels (Parent and the child directly below).&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;BR /&gt;&lt;BR /&gt;Best regards, Till&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 06:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/BOM-Hierarchy/m-p/2482436#M100926</guid>
      <dc:creator>df_qlik</dc:creator>
      <dc:date>2024-09-19T06:32:55Z</dc:date>
    </item>
  </channel>
</rss>

