<?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: Hierarchy path sort order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchy-path-sort-order/m-p/974937#M333325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide some sample data? You can also try to add Order By in your load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2015 15:05:34 GMT</pubDate>
    <dc:creator>sinanozdemir</dc:creator>
    <dc:date>2015-11-24T15:05:34Z</dc:date>
    <item>
      <title>Hierarchy path sort order</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-path-sort-order/m-p/974936#M333324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im stuck with the sort order in a hierarchy path.&lt;/P&gt;&lt;P&gt;It works to this point.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;KstHierarchie:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;Cost_Center,&lt;/P&gt;
&lt;P&gt;KST_Stufe_2 as KstHierarchiePath&lt;/P&gt;
&lt;P&gt;Resident Kostenstellenhierarchie;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Cost_Center&lt;/SPAN&gt;, &lt;/P&gt;
&lt;P&gt;if(isnull(KST_Stufe_3), KST_Stufe_2 &amp;amp; '\' &amp;amp; &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Cost_Center&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;KST_Stufe_2 &amp;amp; '\' &amp;amp; KST_Stufe_3) AS KstHierarchiePath&lt;/P&gt;
&lt;P&gt;Resident Kostenstellenhierarchie&lt;/P&gt;
&lt;P&gt;where not isnull(KST_Stufe_2);&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What i want to do now is to order the items in this hierarchy in a certain matter.&lt;/P&gt;&lt;P&gt;The sort order comes right out of the SAP table.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="102.181818" style="border: 1px solid #000000; width: 189.182px; height: 104.182px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;SEQNR&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Cost_Center_X&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Cost_Center_Y&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Cost_Center_Z&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But no matter what (order by....), it wont order in the right way.&lt;/P&gt;&lt;P&gt;Can somebody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 14:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-path-sort-order/m-p/974936#M333324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T14:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy path sort order</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-path-sort-order/m-p/974937#M333325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide some sample data? You can also try to add Order By in your load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 15:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-path-sort-order/m-p/974937#M333325</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-11-24T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy path sort order</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-path-sort-order/m-p/974938#M333326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philipp, have you tried a join?:&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;KstHierarchie:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Cost_Center,&lt;/P&gt;&lt;P&gt;KST_Stufe_2 as KstHierarchiePath&lt;/P&gt;&lt;P&gt;Resident Kostenstellenhierarchie;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Cost_Center&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;if(isnull(KST_Stufe_3), KST_Stufe_2 &amp;amp; '\' &amp;amp; &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Cost_Center&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;KST_Stufe_2 &amp;amp; '\' &amp;amp; KST_Stufe_3) AS KstHierarchiePath&lt;/P&gt;&lt;P&gt;Resident Kostenstellenhierarchie&lt;/P&gt;&lt;P&gt;where not isnull(KST_Stufe_2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD Item as Cost_Center,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SEQNR as Sort&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 15:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-path-sort-order/m-p/974938#M333326</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-11-24T15:25:50Z</dc:date>
    </item>
  </channel>
</rss>

