<?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: Advanced Sorting (by field not in dimension or epxression) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679272#M539320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could convert your static match-expression into a dynamically expression with $-sign expansion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match(Month, $(=Expression))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereat expression returned your numeric/string-list of month/time-periods per loop/concat from min/max time-period or getfieldselections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Aug 2014 16:17:41 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-08-30T16:17:41Z</dc:date>
    <item>
      <title>Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679271#M539319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field that I want to sort by but I don't want it in my chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My chart: Dimension is Month and expressions are previous 12 months, previous 13-24 months etc. So currently I have data through August so&amp;nbsp; each expression will just have the total of&amp;nbsp; September - August (the last 12 months and so on). I know I could us the match function in the expression area of sort but that would have to be changed every month then and need to be dynamic in case the selection was different. What I really want to do is sort by my MonthYear field 201309, 201310, etc. but not have it anywhere in the chart because it is doesn't allow for expressions to be on the same line since the year is included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 15:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679271#M539319</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-08-30T15:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679272#M539320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could convert your static match-expression into a dynamically expression with $-sign expansion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match(Month, $(=Expression))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereat expression returned your numeric/string-list of month/time-periods per loop/concat from min/max time-period or getfieldselections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 16:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679272#M539320</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-30T16:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679273#M539321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the chart's sorting tab you can define a sorting expression, i.e. You could display your month dimension but sort by your MonthYear field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 16:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679273#M539321</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-30T16:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679274#M539322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I am not sure what would go in your expression above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;: Jan, Feb, March, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sort by but not have in my dimension: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MonthYear&lt;/STRONG&gt;: 201308, 201309, 201310, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way Aug would be first, then Sept, then Oct and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just not sure how that works into your example from above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 18:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679274#M539322</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-08-30T18:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679275#M539323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how would I sort by MonthYear in my sorting expression? Not sure of the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 18:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679275#M539323</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-08-30T18:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679276#M539324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put in the expresion to order &lt;/P&gt;&lt;P&gt;&lt;IMG alt="p5.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/65604_p5.png" style="width: 620px; height: 347px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 06:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679276#M539324</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-08-31T06:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679277#M539325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You aren't limited by fields in your chart - you could use all fields which are assigned together - for example if they are from the same table or connected by a key to a master-calendar or similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case will be properly an avg(MonthYear) in the sort-expression work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 08:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679277#M539325</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-31T08:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679278#M539326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tend to use =only({1}MonthYear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means month selections don't cause things to re-order etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 09:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679278#M539326</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2014-08-31T09:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679279#M539327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I put "MonthYear" in the sort expression but still not working. This is the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/65663_untitled.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679279#M539327</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-09-01T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679280#M539328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried putting that in but still not working. I included what I want to get to work in a reply above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679280#M539328</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-09-01T13:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679281#M539329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Enrique - I couldn't get this to work when I added it to the sort expression. Please see my reply above with the data and what I am trying to accomplish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679281#M539329</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-09-01T13:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679282#M539330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your MonthYear from the table "Nov-12" looked very different from your MonthYear "201211" from posting above. You need a numeric MonthYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679282#M539330</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-01T13:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679283#M539331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the month number in your model?&lt;/P&gt;&lt;P&gt;I.e. april = 01, may =02 etc? You could then use =only({1}monthno)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which I think would work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I would have a numeric month year as marcus suggests, one column of values and then control the data columns with set analysis....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679283#M539331</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2014-09-01T13:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679284#M539332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus.&lt;/P&gt;&lt;P&gt;I substituted above with the number field:&amp;nbsp; MonthYearNum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still won't sort. I just put =MonthYearNum in the expression. Is that correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679284#M539332</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-09-01T13:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679285#M539333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I substituted the number field MonthYearNum into the expression but it still won't sort sequentially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 13:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679285#M539333</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-09-01T13:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679286#M539334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with avg(MonthYearNum).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 14:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679286#M539334</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-01T14:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679287#M539335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will not work if you have dates selected in the dashboard.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is why you need the "only" formula as the {1} set analysis tells it to disregard any selections in the sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 14:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679287#M539335</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2014-09-01T14:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679288#M539336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sticking with me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still not working. When I&amp;nbsp; include the MonthYearSeq number in my dimension and sort by MonthYearSeq it works just fine (obviously) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I take it out and add the expression =only({1}MonthYearSeq) in the "Month" sort it doesn't work. In fact I don't get it at all because it sorts like Dec, Nov, Jan - have no idea why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 14:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679288#M539336</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-09-01T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Sorting (by field not in dimension or epxression)</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679289#M539337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to upload a small example document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect we can resolve it but without seeing the model it can be quite tricky!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 14:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Sorting-by-field-not-in-dimension-or-epxression/m-p/679289#M539337</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2014-09-01T14:21:35Z</dc:date>
    </item>
  </channel>
</rss>

