<?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: Comparing periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463538#M558302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. I was hoping I could get away without using aggr function &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Aggr and set analysis are a bit foggy for me at the moment as I am relatively new to QV. I'm learning...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll work on it, thanks again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2013 01:30:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-12T01:30:32Z</dc:date>
    <item>
      <title>Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463536#M558300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I need to monitor whether clients' sales totals this month are +or- 20% from last month and therefore only show those occurancies on my chart/table, is there a way to work with my data sources as they are?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Visual clues' won't do, because I only want to show figures that fall into that criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking about doing this in the script, but because I have other different criteria to show as well, similar to the one above, I would have to create another 4 tables at least (the script already takes about 20minutes to run).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 00:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463536#M558300</guid>
      <dc:creator />
      <dc:date>2013-06-12T00:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463537#M558301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it using calculated dimensions.&amp;nbsp; That is, instead of dimension Client, it wiould be something like this:&lt;BR /&gt;aggr(if(fabs((sales2-sales1)/sales1)&amp;gt;=0.2, Client),Client)&lt;/P&gt;&lt;P&gt;You can use set analysis instead of "if", it depends on the specific situation anf yiur prefernces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 01:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463537#M558301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-12T01:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463538#M558302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. I was hoping I could get away without using aggr function &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Aggr and set analysis are a bit foggy for me at the moment as I am relatively new to QV. I'm learning...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll work on it, thanks again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 01:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463538#M558302</guid>
      <dc:creator />
      <dc:date>2013-06-12T01:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463539#M558303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to put together an aggr expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to consider previous month and I have a Calendar set up, why doesn't&lt;/P&gt;&lt;P&gt;$(=only(month)-1)&lt;/P&gt;&lt;P&gt;work??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the other way to put it is: would you kindly give me an idea of the syntax for your aggr function given:&lt;/P&gt;&lt;P&gt;sales1 = tot sales selected month&lt;/P&gt;&lt;P&gt;sales2 = tot sales (selected month - 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 05:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463539#M558303</guid>
      <dc:creator />
      <dc:date>2013-06-12T05:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463540#M558304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cristina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That could be because of the format issue. Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({$&amp;lt;MonthField&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'$(=Month(&lt;STRONG&gt;MakeDate&lt;/STRONG&gt;(1,MonthField-1,1))'}&amp;gt;} Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: MakeDate():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 05:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463540#M558304</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-06-12T05:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463541#M558305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;SPAN style="color: #333333;"&gt;I've tried your expression, but unfortunately it's not returning any value...&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;So I've changed it to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'$(=Monthname(MakeDate(only(Year),only(Month)-1))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;but it doesn't work either. If I insert a text box with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Monthname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-1)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;the value returned is the month before the one I selected, which is right. I just need to have that as my modifier...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;Cristina&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 01:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463541#M558305</guid>
      <dc:creator />
      <dc:date>2013-06-13T01:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463542#M558306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It took a while but I did work on it and thank you! That worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 02:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463542#M558306</guid>
      <dc:creator />
      <dc:date>2013-06-18T02:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463543#M558307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we use aggregation functions like sum,avg in calculated dimensions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Murali krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 06:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463543#M558307</guid>
      <dc:creator />
      <dc:date>2013-06-18T06:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463544#M558308</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;You can use aggregated function, but must use function aggr. When use it in dimension syntax is aggr(sum(&amp;lt;field&amp;gt;),&amp;lt;group by fields&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dimitar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 06:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463544#M558308</guid>
      <dc:creator>prodanov</dc:creator>
      <dc:date>2013-06-18T06:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463545#M558309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Prodanav &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't we directly use aggregated functions without using function aggr?&lt;/P&gt;&lt;P&gt;Because in my requirement no need to perform aggregation based on fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Murali krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 06:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463545#M558309</guid>
      <dc:creator />
      <dc:date>2013-06-18T06:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463546#M558310</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you attach an exam application? I don't understand a &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Dimitar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 07:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-periods/m-p/463546#M558310</guid>
      <dc:creator>prodanov</dc:creator>
      <dc:date>2013-06-18T07:58:11Z</dc:date>
    </item>
  </channel>
</rss>

