<?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 can shorten this expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429535#M487857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can store lengthy expressions in a variable and instead os expression you can call that perticular variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 15:16:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-12T15:16:17Z</dc:date>
    <item>
      <title>How can shorten this expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429531#M487853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written following expression using SET where i want the total of quantity based on user selection and if user dont select any country then it should be as select all i am looking forward to shorten this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(count(GetCurrentSelections(Country)) &amp;lt;&amp;gt;0 , sum({$ &amp;lt;Country = {$(=getcurrentselections(Country,','))}&amp;gt;} Quantity),sum({$ &amp;lt;Country = {'*'}&amp;gt;} Quantity))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 14:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429531#M487853</guid>
      <dc:creator />
      <dc:date>2013-02-12T14:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can shorten this expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429532#M487854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;isn't this redundant? QlikView does what you are asking above naturally based on user clicks. you don't have to specify the selections. just a simple SUM(Quantity) should be fine,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 15:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429532#M487854</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2013-02-12T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can shorten this expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429533#M487855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&amp;nbsp; but i want to add more dimensions such as top 5&amp;nbsp; Products / country&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 15:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429533#M487855</guid>
      <dc:creator />
      <dc:date>2013-02-12T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can shorten this expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429534#M487856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn’t matter. That’s QlikView’s in built engine doing it all for you. You can create listboxes and click in it and it will report the associated SUM(Quantity) so you don’t have to worry about loading the expression with set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV 11 you can use the Dimension Limits tab to do the Top(X) analysis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;P&gt;=====================&lt;/P&gt;&lt;P&gt;Amirali Vastani&lt;/P&gt;&lt;P&gt;Tel: 646.773.7936&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 15:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429534#M487856</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2013-02-12T15:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can shorten this expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429535#M487857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can store lengthy expressions in a variable and instead os expression you can call that perticular variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 15:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-shorten-this-expression/m-p/429535#M487857</guid>
      <dc:creator />
      <dc:date>2013-02-12T15:16:17Z</dc:date>
    </item>
  </channel>
</rss>

