<?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: How do I reverse sort a path and skip the first level? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537108#M200740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not as far as I know. You could use this to reverse a string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Reversing:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load MyText, concat(Letter,'',-row) as Reversed Group by MyText;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load MyText, iterno() as row, mid(MyText,IterNo(),1) As Letter&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Inline [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MyText&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Testmystring&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SecondTest&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AnotherString&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;] While IterNo() &amp;lt;= len(MyText);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Dec 2013 18:03:39 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-12-30T18:03:39Z</dc:date>
    <item>
      <title>How do I reverse sort a path and skip the first level?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537105#M200737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I reverse sort a path and skip the first level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex Path = P1:P2:p3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show P2:P1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 17:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537105#M200737</guid>
      <dc:creator />
      <dc:date>2013-12-30T17:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reverse sort a path and skip the first level?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537106#M200738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;subfield('P1:P2:p3' , ':' , 2) &amp;amp; ':' &amp;amp; subfield('P1:P2:p3' , ':' , 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or a more general solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reversing:&lt;/P&gt;&lt;P&gt;load MyPath, concat(Element,':',-row) as Reversed Group by MyPath;&lt;/P&gt;&lt;P&gt;load MyPath, iterno() as row, subfield(MyPath,':',IterNo()) As Element&lt;/P&gt;&lt;P&gt;Inline [&lt;/P&gt;&lt;P&gt;MyPath&lt;/P&gt;&lt;P&gt;p1:p2:p3&lt;/P&gt;&lt;P&gt;p4:p5:p6:p7&lt;/P&gt;&lt;P&gt;p8:p9:p10:p11:p12&lt;/P&gt;&lt;P&gt;] While IterNo() &amp;lt;= SubStringCount(MyPath,':');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 17:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537106#M200738</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-30T17:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reverse sort a path and skip the first level?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537107#M200739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hpw do I just reverse sort the string? is there a function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 17:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537107#M200739</guid>
      <dc:creator />
      <dc:date>2013-12-30T17:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reverse sort a path and skip the first level?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537108#M200740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not as far as I know. You could use this to reverse a string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Reversing:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load MyText, concat(Letter,'',-row) as Reversed Group by MyText;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load MyText, iterno() as row, mid(MyText,IterNo(),1) As Letter&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Inline [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MyText&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Testmystring&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SecondTest&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AnotherString&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;] While IterNo() &amp;lt;= len(MyText);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 18:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-reverse-sort-a-path-and-skip-the-first-level/m-p/537108#M200740</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-30T18:03:39Z</dc:date>
    </item>
  </channel>
</rss>

