<?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: Sorting data in semi colon format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333547#M617826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will loose the sort order i want. Your way would produce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AAC,AQV,BAX&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12,43,87&amp;nbsp;&amp;nbsp; (if number fell in differently it would sort by low to high)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to preserve the sort order as per data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Apr 2017 21:48:59 GMT</pubDate>
    <dc:creator>userid128223</dc:creator>
    <dc:date>2017-04-27T21:48:59Z</dc:date>
    <item>
      <title>Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333543#M617822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 fields with data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&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;Key&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ItemType&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Cost&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BAX&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;124&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;PPP&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;88&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AAC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;126&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ITF&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;124&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ZAY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;126&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;QVM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AQV&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;87&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want 2 strings of data seperated by semicolon that match ItemType &amp;amp; Cost group by Key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results Required:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&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;Key&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ItemTypeCombined&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;CostCombined&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BAX,AAC,AQV&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12,43,87&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;124&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;PPP,ZAY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;88,15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;126&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ITF,QVM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;65,43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 21:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333543#M617822</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2017-04-27T21:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333544#M617823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Key as Dimension and Concat(Itemtype,';') and Concat(Cost,';') as expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 21:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333544#M617823</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-04-27T21:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333545#M617824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Concat(item,' ') as Newfield,&lt;/P&gt;&lt;P&gt;Concat(cost, ',') as field2&lt;/P&gt;&lt;P&gt;resident Data&lt;/P&gt;&lt;P&gt;Group by key;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 21:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333545#M617824</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-27T21:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333546#M617825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil doing concat as you suggested will loose it orignal sort order. It will do numbers from low to high and text field Alphabetical order. That's not what i want. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 21:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333546#M617825</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2017-04-27T21:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333547#M617826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will loose the sort order i want. Your way would produce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AAC,AQV,BAX&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12,43,87&amp;nbsp;&amp;nbsp; (if number fell in differently it would sort by low to high)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to preserve the sort order as per data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 21:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333547#M617826</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2017-04-27T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333548#M617827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the concat and preserve the order by using RecNo() as the sort weight parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat(ItemType,',',RecNo()) as ItemTypeCombined,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat(Cost,',',RecNo()) as CostCombined&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2061" data-containertype="14" data-objectid="258599" data-objecttype="1" href="https://community.qlik.com/thread/258599"&gt;https://community.qlik.com/thread/258599&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(html, codepage is 1252, embedded labels, table is @1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Group by Key;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 22:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333548#M617827</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-04-27T22:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333549#M617828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other method of doing this on the fly in the chart instead of within script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 22:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333549#M617828</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2017-04-27T22:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting data in semi colon format</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333550#M617829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. Save the RecNo() in a field and then use that in the chart expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &lt;STRONG&gt;RecNo() as RecId,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemType,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2061" data-containertype="14" data-objectid="258599" data-objecttype="1" href="https://community.qlik.com/thread/258599"&gt;https://community.qlik.com/thread/258599&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then chart Dim "Key" and expressions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;concat(ItemType,',',RecId)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;concat(Cost,',',RecId)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 23:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-data-in-semi-colon-format/m-p/1333550#M617829</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-04-27T23:17:44Z</dc:date>
    </item>
  </channel>
</rss>

