<?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: custom sort on calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449601#M1153277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, everything else is unchecked.&amp;nbsp; I tried your suggestion and put the expession in there instead of the name and I got the same results.&amp;nbsp; Any other thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 May 2013 05:06:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-11T05:06:04Z</dc:date>
    <item>
      <title>custom sort on calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449596#M1153272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a calculated dimension that produces string names for the dimension.&amp;nbsp; Its a fairly complicated calculation based on the data grouping various levels of data into the dimension called 'Professional', a different grouping into 'Consumer' and another one to group into 'Consumer'.&amp;nbsp; I labeled the calculated dimension 'Products'.&amp;nbsp; The results in that dimension are 'Professional', 'Consumer', 'Marketing'.&amp;nbsp; The user wants that dimension sort to always be fixed at 'Professional', 'Consumer', 'Marketing'&amp;nbsp; (so not alphabetical) I can not see how to do this.&amp;nbsp; I am trying:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Products,'Professional','Consumer','Marketing')&amp;nbsp;&amp;nbsp; but it still sorts it like this 'Consumer', 'Marketing', 'Professional'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Why won't the match function work?&amp;nbsp; If it's better to do this differently in a load script, how would I do that?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 20:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449596#M1153272</guid>
      <dc:creator />
      <dc:date>2013-05-10T20:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449597#M1153273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following sort expression works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Match(Products,'Professional','Consumer','Market')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 21:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449597#M1153273</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-05-10T21:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449598#M1153274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; I realized I missed the = but it's still not working.&amp;nbsp; It should come out in the order I typed them in the expression right?&amp;nbsp; Professional first, then Consumer, then Marketing?&amp;nbsp; I'm getting Consumer, Professional, Marketing which isn't even alppabetical but isn't the way I entered it either.&amp;nbsp; Do you know what can be throwing this off?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 23:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449598#M1153274</guid>
      <dc:creator />
      <dc:date>2013-05-10T23:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449599#M1153275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, when I do the same thing on a non-calculated dimension, it's working perfectly.&amp;nbsp; In that case it's a true field name I'm referencing in the Match function.&amp;nbsp; With the calculated dimension, I give the calculated dimension a 'label', and then that label is what I use in the Match function.&amp;nbsp; Is that how I should be referencing it in Match?&amp;nbsp; The only data being returned that I see are those 3 texts, so it should be doing what I'd hoped but it's not.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 23:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449599#M1153275</guid>
      <dc:creator />
      <dc:date>2013-05-10T23:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449600#M1153276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check 'Sort By Expression' checkbox and uncheck everything else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also try replacing 'Products' in the sort expression by the calculated dimension expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 00:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449600#M1153276</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-05-11T00:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449601#M1153277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, everything else is unchecked.&amp;nbsp; I tried your suggestion and put the expession in there instead of the name and I got the same results.&amp;nbsp; Any other thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 05:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449601#M1153277</guid>
      <dc:creator />
      <dc:date>2013-05-11T05:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449602#M1153278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up adding the DUAL function in my calculated dimension formula, adding numerics, and then sorting by that numeric.&amp;nbsp; That worked.&amp;nbsp; Anyway, thank you for your input!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 05:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-calculated-dimension/m-p/449602#M1153278</guid>
      <dc:creator />
      <dc:date>2013-05-11T05:42:20Z</dc:date>
    </item>
  </channel>
</rss>

