<?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: How to refer Chart expression by name in sort expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421077#M812574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any which way it is going to be calculated twice. To optimize the performance you should look to optimize the calculations used in your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 08:34:33 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2017-09-27T08:34:33Z</dc:date>
    <item>
      <title>How to refer Chart expression by name in sort expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421073#M812568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart with one dimension and one expression (say v1). This expression is complex and time consuming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sort the chart by asc or desc based on some condition. I was going to multiply the yvalue by -1/1 for this in the sort expression. But I dont want to write the complex expression again in sort expression and calculate it twice. This is giving performance issue. Instead I want to refer it by name (-1*v1) in sort expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see one expression can be referred in another by name. Wondering if it can be in sort expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont want to have two charts with different sort orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421073#M812568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer Chart expression by name in sort expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421074#M812569</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;One thing you can do is copy the expression in variable and then call variable in expression and also for sorting expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421074#M812569</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-09-27T06:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer Chart expression by name in sort expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421075#M812571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, as Kaushik mentioned u have to declare that expresion in Sory by expression and then use ASC / DESC as client needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421075#M812571</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T06:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer Chart expression by name in sort expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421076#M812572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but I don't think this answers my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean to solve repeating the expression text at two places then that is not my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean to calculate the variable value once and use it in multiple places, then it is not a calculate once and use it many time situation like a text box but a chart &lt;SPAN style="font-size: 13.3333px;"&gt;where the expression value by itself changes based on the dimension values. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;In fact my expression is in a variable only. It still calculates multiple times if used in chart expression and in sort expression, as intended. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421076#M812572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T07:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer Chart expression by name in sort expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421077#M812574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any which way it is going to be calculated twice. To optimize the performance you should look to optimize the calculations used in your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 08:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421077#M812574</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-09-27T08:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer Chart expression by name in sort expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421078#M812575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If one expression is referred by name in another expression then it wont be calculated twice. The question is if it can be done in sort expression. I guess the answer is no. Thanks for your reply though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 10:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421078#M812575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T10:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to refer Chart expression by name in sort expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421079#M812577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried sorting by "Y" value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 12:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refer-Chart-expression-by-name-in-sort-expression/m-p/1421079#M812577</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-09-27T12:37:31Z</dc:date>
    </item>
  </channel>
</rss>

