<?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: Use expression without limiting selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484206#M1129836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am not wrong then you can split Month year as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(sum({&amp;lt;Object = {'ZZ0012'},Year = {$(=Max(Year)),&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month= {$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month&lt;/SPAN&gt;)) &lt;/SPAN&gt;&amp;gt;}Volume),MonthYear)&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Dec 2013 05:01:37 GMT</pubDate>
    <dc:creator>qlikpahadi07</dc:creator>
    <dc:date>2013-12-15T05:01:37Z</dc:date>
    <item>
      <title>Use expression without limiting selection</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484204#M1129834</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;&lt;/P&gt;&lt;P&gt;Please see code;&lt;/P&gt;&lt;P&gt;Aggr(sum({&amp;lt;Object = {'ZZ0012'}&amp;gt;}Volume),MonthYear)/ &lt;/P&gt;&lt;P&gt;Aggr(sum({&amp;lt;Object = {'ZZ0012'},MonthYear={'Mar-2012'}&amp;gt;}Volume),MonthYear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second line is meant to be a calculated value, but without restricting selections on months which it does right now. So how can I use MonthYear March 2012 without limiting the selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 22:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484204#M1129834</guid>
      <dc:creator />
      <dc:date>2013-12-14T22:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Use expression without limiting selection</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484205#M1129835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me understand this correctly&amp;nbsp; - you want the second line NOT to be limited to Mar-2012?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you want it to start with march-2012 or? &lt;/P&gt;&lt;P&gt;If you remove &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthYear={'Mar-2012'}&lt;/SPAN&gt; there is no filter on monthYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise you could try using getfieldselection and then trigger the document to start up in march&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 23:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484205#M1129835</guid>
      <dc:creator />
      <dc:date>2013-12-14T23:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use expression without limiting selection</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484206#M1129836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am not wrong then you can split Month year as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(sum({&amp;lt;Object = {'ZZ0012'},Year = {$(=Max(Year)),&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month= {$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month&lt;/SPAN&gt;)) &lt;/SPAN&gt;&amp;gt;}Volume),MonthYear)&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Dec 2013 05:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484206#M1129836</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-12-15T05:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use expression without limiting selection</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484207#M1129837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas/Pahad, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for so quick a response. Unfortunately, It is not what I am after, but I probably should have explained more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I specifically want the sum of the volume, aggregated per March 2012 as a value, because that is the chosen baseline month. That means I do no want a minimum month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say that March has as summed/aggregated volumes of 120 and April 140 and May 180. Then the results in percentages should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;March: 120/120=100%&lt;/P&gt;&lt;P&gt;April: 140/120=117%&lt;/P&gt;&lt;P&gt;May: 180/120=150%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So using the fixed value of the summed volumes of Month March works just fine as long as you compare the sum of ALL volumes in a month. However, the volumes are categorized and it should be possible to make a selection in it. For ease of calculation say the volumes are spread as follows between category A and B;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;March 70/30&lt;/P&gt;&lt;P&gt;April 60/40&lt;/P&gt;&lt;P&gt;May 65/35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the fixed value, if I make the selection for category A, it would say:&lt;/P&gt;&lt;P&gt;March: (0,7*120)/120=70%&lt;/P&gt;&lt;P&gt;April: (0,6*140)/120=70%&lt;/P&gt;&lt;P&gt;May: (0,65*180)/120=98%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas it should be:&lt;/P&gt;&lt;P&gt;March: (0,7*120)/(0,7*120)=100%&lt;/P&gt;&lt;P&gt;April: (0,6*140)/(0,7*120)=100%&lt;/P&gt;&lt;P&gt;May: (0,65*180)/(0,7*120)=139%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense &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;Thanks!&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Dec 2013 07:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484207#M1129837</guid>
      <dc:creator />
      <dc:date>2013-12-15T07:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use expression without limiting selection</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484208#M1129838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry If i didn't get you properly again. you can attach a simple qvw which will help us to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well I thing you can use Varaible where you can assign the value to varaible and divide it with your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Let Var1 = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(sum({&amp;lt;Object = {'ZZ0012'},MonthYear={'Mar-2012'}&amp;gt;}Volume),MonthYear)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;so next time you can use ... exp/Var1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;may be helpful &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Dec 2013 11:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-without-limiting-selection/m-p/484208#M1129838</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-12-15T11:19:31Z</dc:date>
    </item>
  </channel>
</rss>

