<?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 by expression in web-version in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-in-web-version/m-p/222299#M74979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im use graph with one expression sum(sale), and one dimension vDim01 (it's variable, i set there some dimensions by klick on button).&lt;/P&gt;&lt;P&gt;Variable can take few dimensions, like Year, Month, Region, Emp, ....&lt;/P&gt;&lt;P&gt;When dimension is Year or Month, a need to sort by default, when other - by sum(sale), and i do it by sort expression:&lt;/P&gt;&lt;P&gt;if(vDim01 like 'Month' or vDim01 like 'Year' , vDim01,sum(sale))&lt;/P&gt;&lt;P&gt;It work fine in QlikView BUT it don't work in web version, it always sort by default.&lt;/P&gt;&lt;P&gt;My question is WHY it don't sort in web, and what solution is to solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV Personal Edition 9.0&lt;/P&gt;&lt;P&gt;IE 8, Mozilla, Opera&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for answers&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Dec 2010 09:31:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-14T09:31:40Z</dc:date>
    <item>
      <title>Sorting by expression in web-version</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-in-web-version/m-p/222299#M74979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im use graph with one expression sum(sale), and one dimension vDim01 (it's variable, i set there some dimensions by klick on button).&lt;/P&gt;&lt;P&gt;Variable can take few dimensions, like Year, Month, Region, Emp, ....&lt;/P&gt;&lt;P&gt;When dimension is Year or Month, a need to sort by default, when other - by sum(sale), and i do it by sort expression:&lt;/P&gt;&lt;P&gt;if(vDim01 like 'Month' or vDim01 like 'Year' , vDim01,sum(sale))&lt;/P&gt;&lt;P&gt;It work fine in QlikView BUT it don't work in web version, it always sort by default.&lt;/P&gt;&lt;P&gt;My question is WHY it don't sort in web, and what solution is to solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV Personal Edition 9.0&lt;/P&gt;&lt;P&gt;IE 8, Mozilla, Opera&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for answers&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 09:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-expression-in-web-version/m-p/222299#M74979</guid>
      <dc:creator />
      <dc:date>2010-12-14T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Sorting by expression in web-version</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-in-web-version/m-p/222300#M74980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please... somebody help me!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 16:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-expression-in-web-version/m-p/222300#M74980</guid>
      <dc:creator />
      <dc:date>2010-12-14T16:25:37Z</dc:date>
    </item>
    <item>
      <title>Sorting by expression in web-version</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-in-web-version/m-p/222301#M74981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normal 0 false false false RU X-NONE X-NONE MicrosoftInternetExplorer4&lt;/P&gt;&lt;P&gt;Thanks to all!&lt;/P&gt;&lt;P&gt;You really help me…&lt;/P&gt;&lt;P&gt;If somebody will be interesting how it's solve, I find solution, that work in Web, and that what I need in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, in graph set sort by text, next&lt;/P&gt;&lt;P&gt;On buttons, that set values to variable vDim01, just add macros like this:&lt;/P&gt;&lt;P&gt;To other dimensions, not like "Month" or "Year"&lt;/P&gt;&lt;P&gt;sub sortXY&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH03")&lt;/P&gt;&lt;P&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P&gt;p.SortByYValue = -1&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;To dimensions "Year" and "Month"&lt;/P&gt;&lt;P&gt;sub sortTXT&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH03")&lt;/P&gt;&lt;P&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P&gt;p.SortByYValue = 0&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really work in web version.&lt;/P&gt;&lt;P&gt;I hope it will helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 16:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-expression-in-web-version/m-p/222301#M74981</guid>
      <dc:creator />
      <dc:date>2010-12-17T16:07:09Z</dc:date>
    </item>
  </channel>
</rss>

