<?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 Sorting in Line Charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152426#M29869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ruan,&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jan 2011 09:46:58 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2011-01-04T09:46:58Z</dc:date>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152425#M29868</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;I have a line chart with the following labels at the axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S L M 45 60 70 80 90 100 110 216&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its currently sorted Numerically &amp;amp; Alphabetically but i want it specifically like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The L must go to the front, then the numerical numbers in order then the S must be at the back after the 216 or 234&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How on earth can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 08:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152425#M29868</guid>
      <dc:creator />
      <dc:date>2011-01-04T08:46:54Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152426#M29869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ruan,&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 09:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152426#M29869</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-01-04T09:46:58Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152427#M29870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;excellent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx alot, works like a charm. now for another twist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S M L 50 60 70 80 90 100 110 120 130 140&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The M will have to slot in the middle somewhere like between 90 and 100. is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 10:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152427#M29870</guid>
      <dc:creator />
      <dc:date>2011-01-04T10:36:48Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152428#M29871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;if(num(Dim) &amp;lt;100,3, if(Dim ='M', 4,if(num(Dim) &amp;gt;=100,5)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try out the above expr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 10:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152428#M29871</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-01-04T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152429#M29872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx in advance. &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 10:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152429#M29872</guid>
      <dc:creator />
      <dc:date>2011-01-04T10:47:40Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152430#M29873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also consider doing a separate load before your main load where you just put the values in the order you want. Then after the main load, drop that table. Sort by "original load order". That lets you easily change the order of distinct values by simply changing their position in the list. See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 02:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152430#M29873</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-01-05T02:08:59Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152431#M29874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your dimension values are finite, here's a very simple solution. If you'd rather keep a single table, concatenate the 'SortOder' field. Ellen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 02:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152431#M29874</guid>
      <dc:creator>bullish35</dc:creator>
      <dc:date>2011-01-05T02:32:03Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152432#M29875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Ellen Blackwell wrote:If your dimension values are finite, here's a very simple solution. If you'd rather keep a single table, concatenate the 'SortOder' field. Ellen&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It seems like you've taken most of the disadvantages of both Deepak and my solutions and combined them.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Deepak's:&lt;BR /&gt;pro - values do not need to be known (if sort rule is simple)&lt;BR /&gt;pro - values do not need to be listed (if sort rule is simple)&lt;BR /&gt;con - possible extra load time (if adding to the original table and original table is large)&lt;BR /&gt;con - complication of data model (extra field or extra table)&lt;BR /&gt;con - can be more difficult to add values or change sort order (nested if)&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Mine:&lt;BR /&gt;pro - trivial to add values or change sort order (insert new values where desired, move other values)&lt;BR /&gt;pro - "no" extra load time&lt;BR /&gt;pro - no complication of data model&lt;BR /&gt;con - values must be known&lt;BR /&gt;con - values must all be listed&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Yours:&lt;BR /&gt;pro - ???&lt;BR /&gt;con - possible extra load time (if adding to the original table and original table is large)&lt;BR /&gt;con - complication of data model (extra field or extra table)&lt;BR /&gt;con - can be more difficult to add values or change sort order (may need to renumber a lot of values)&lt;BR /&gt;con - values must be known&lt;BR /&gt;con - values must all be listed&lt;/P&gt;&lt;P&gt;Am I missing some advantage of your approach?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 19:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152432#M29875</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-01-05T19:29:17Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152433#M29876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretty talented, am I not? Actually, I doubt that you are missing any hidden advantages. I'm still pretty new. I used this method because it was a &lt;EM&gt;really&lt;/EM&gt; simple way to create the sort order I needed for a very small table. I do appreciate your Pro/Con lists - they have become part of my learning process. Take care. Ellen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jan 2011 03:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152433#M29876</guid>
      <dc:creator>bullish35</dc:creator>
      <dc:date>2011-01-08T03:49:41Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152434#M29877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Simply u can use the wildmatch function in ur chart.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1447.Sort.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1447.Sort.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also refer the attached file. u can sort in any order as per ur wish without any script modification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jan 2011 09:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152434#M29877</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-01-08T09:52:30Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152435#M29878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruan,&lt;/P&gt;&lt;P&gt;Here is another approach.&lt;/P&gt;&lt;P&gt;Autonumber function will assign unique numeric value for each Dim.&lt;/P&gt;&lt;P&gt;Mapping Load will enable you to define which 'charater sring' value should fit within any possible 'numeric' possible value.&lt;/P&gt;&lt;P&gt;Use the sequence key generated based on the mapping load to sort your Dim in the Line Chart!&lt;/P&gt;&lt;P&gt;Hope this helps. Sample attached.&lt;/P&gt;&lt;P&gt;Please Note: Mapping load is a manual assignnment of numeric values to the Dim, so L gets the lowest value, S the hight value and other text char as per your choice to fit between other numeric Dim values.&lt;/P&gt;&lt;P&gt;sort_map:&lt;BR /&gt;Mapping LOAD * Inline [&lt;BR /&gt;a, b&lt;BR /&gt;S,235&lt;BR /&gt;L,0.5&lt;BR /&gt;M,101&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;MAP DimSort using sort_map;&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;LOAD *, Dim as DimSort;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Dim, Value&lt;BR /&gt; S, 98&lt;BR /&gt; L, 100&lt;BR /&gt; M, 67&lt;BR /&gt; 45, 34&lt;BR /&gt; 110, 66&lt;BR /&gt; 60, 44&lt;BR /&gt; 70, 90&lt;BR /&gt; 80, 32&lt;BR /&gt; 100, 11&lt;BR /&gt; 216, 34&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;TestKey:&lt;BR /&gt;NoConcatenate Load Dim, Value, DimSort, autonumber(DimSort) as DimSeqKey resident Test order by DimSort asc;&lt;/P&gt;&lt;P&gt;Drop table Test;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jan 2011 15:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152435#M29878</guid>
      <dc:creator />
      <dc:date>2011-01-08T15:38:38Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152436#M29879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Manesh wrote:Simply u can use the wildmatch function in ur chart.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Or just match() in this case. Good solution for when you can't or don't want to modify script, or when different charts need different sort orders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 19:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152436#M29879</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-01-10T19:47:58Z</dc:date>
    </item>
    <item>
      <title>Sorting in Line Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152437#M29880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Manesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is perfect thanx, does exactly what i need and easy to implement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 07:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Line-Charts/m-p/152437#M29880</guid>
      <dc:creator />
      <dc:date>2011-01-11T07:08:25Z</dc:date>
    </item>
  </channel>
</rss>

