<?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 in a report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846819#M1002916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am guessing that the % field is a calculated dimension. You should be able to sort it using a sort expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(YourCalculatedDimension, '&amp;gt;30%', '10%-20%', '20%-30%', '0%-10%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will just need to make sure that values within the single quotes ('&lt;STRONG&gt;&amp;gt;30%&lt;/STRONG&gt;') match exactly, even the spaces, with how your dimension outputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 01:37:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-26T01:37:41Z</dc:date>
    <item>
      <title>Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846818#M1002915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;How to do custom sort in a report?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 220px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="110"&gt;%&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="110"&gt;No Of Emps&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;&amp;gt;30%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;10%-20%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;20%-30%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;0%-10%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 01:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846818#M1002915</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-05-26T01:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846819#M1002916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am guessing that the % field is a calculated dimension. You should be able to sort it using a sort expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(YourCalculatedDimension, '&amp;gt;30%', '10%-20%', '20%-30%', '0%-10%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will just need to make sure that values within the single quotes ('&lt;STRONG&gt;&amp;gt;30%&lt;/STRONG&gt;') match exactly, even the spaces, with how your dimension outputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 01:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846819#M1002916</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-26T01:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846820#M1002917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/sunindia"&gt;sunindia&lt;/A&gt; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 01:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846820#M1002917</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-05-26T01:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846821#M1002918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was working on a sample for you. I guess its no more needed, but I am still going to attach since I have already worked on it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 01:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846821#M1002918</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-26T01:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846822#M1002919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/sunindia"&gt;sunindia&lt;/A&gt; ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for your attached file. Actually I have done everything on script level but you have shown me front end.Now it is perfect.&lt;/P&gt;&lt;P&gt;Many thanks dude.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 02:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846822#M1002919</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-05-26T02:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846823#M1002920</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;If you are using this in multiple charts, then in every chart you need to hard code this expression, instead of this try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SomeTableName:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;INLINE [ &lt;/P&gt;&lt;P&gt;%&lt;/P&gt;&lt;P&gt;&amp;gt;30%&lt;/P&gt;&lt;P&gt;10%-20%&lt;/P&gt;&lt;P&gt;20%-30%&lt;/P&gt;&lt;P&gt;0%-10% ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : The script should be kept at the beginning of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in chart properties -&amp;gt; Sort-&amp;gt; Select Dimension -&amp;gt; Select Load Order -&amp;gt; Original&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 04:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846823#M1002920</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-26T04:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846824#M1002921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/jagan"&gt;jagan&lt;/A&gt;‌&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you .&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 05:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846824#M1002921</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-05-26T05:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846825#M1002922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/jagan"&gt;jagan&lt;/A&gt;&lt;/STRONG&gt;‌I agree with you that doing it in the script would be quite useful, but I don't think that you will necessarily have to retype the same expression over and over again for different charts, you can always create a variable and use that over and over again. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSort = &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Match(YourCalculatedDimension, '&amp;gt;30%', '10%-20%', '20%-30%', '0%-10%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 09:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846825#M1002922</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-26T09:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846826#M1002923</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;When chart loading with Load Order then the performance would be better when compared to the expression.&amp;nbsp; Your expression in variable also works but this is the best solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846826#M1002923</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-26T10:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846827#M1002924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems like a valid argument. I think I will have to test this out because I didn't think that load order would be faster than expression, but it does make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" href="https://community.qlik.com/people/jagan"&gt;jagan mohan&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846827#M1002924</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-26T10:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in a report</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846828#M1002925</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;If you use Load Order then Qlikview don't need to sort anything just loads&lt;/P&gt;&lt;P&gt;as such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-a-report/m-p/846828#M1002925</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-26T10:35:57Z</dc:date>
    </item>
  </channel>
</rss>

