<?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: % increase, % decrease in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887918#M309501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm..it was just a psedo code only..thats the issue it was returning only 1 value any other way of achiveving this..other than using aggr function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2015 14:29:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-02T14:29:40Z</dc:date>
    <item>
      <title>% increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887912#M309495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have a small requirement, I need to show max % increase and % decrease for given a dimension 1, but the challenge is show calculate the % at one level below dimension 1. &lt;/P&gt;&lt;P&gt;consider the example as shown below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="424"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Category&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="97"&gt;Product&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="112"&gt;yesterday's price&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="87"&gt;Today's price&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Cat1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;prod1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;102&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2.00%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Cat1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;prod2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;106&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;107&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;0.94%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Cat1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;prod3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;110&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;108&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;-1.82%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Cat1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;prod4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;122&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;-0.81%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Cat2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;prod5&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;93&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;91&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;-2.15%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Cat2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;prod6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;101&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;102&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;0.99%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Cat2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;prod7&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;27&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;28.5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5.56%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see there are two categories cat1 and cat2 having multiple products within same category prod 1 to prod7, i need to calcuate % increase and decrease at prod level but o/p table&lt;/P&gt;&lt;P&gt;should only max % increase and min % decrease within category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 273px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;Category&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="97"&gt;max % increase&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="112"&gt;min % decrease&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;Cat1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2.00%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-1.82%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;cat2&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;5.56%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-2.15%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887912#M309495</guid>
      <dc:creator />
      <dc:date>2015-06-01T15:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: % increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887913#M309496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;note: I'm deriving the % change column within qv, there is no direct column from database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887913#M309496</guid>
      <dc:creator />
      <dc:date>2015-06-01T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: % increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887914#M309497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you make a straight table with one dimension: Category and have two expressions like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max( Aggr( Sum( [Today's price]/[yesterday's price] - 1 ) , Product ) )&lt;/P&gt;&lt;P&gt;Min( Aggr( Sum( [Today's price]/[yesterday's price] - 1 ) , Product ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get your max increase and min decrease&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887914#M309497</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-01T16:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: % increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887915#M309498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Peter it worked like a charm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 18:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887915#M309498</guid>
      <dc:creator />
      <dc:date>2015-06-01T18:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: % increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887916#M309499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Petter thx &lt;/SPAN&gt;for helping..now I have a new request where I need to show count of product where the % change &amp;gt; 1%&amp;nbsp; I tried to apply similar logic&lt;/P&gt;&lt;P&gt;count(if(Aggr( Sum( [Today's price]/[yesterday's price] - 1 ) , Product )&amp;gt;=.001,Product)) but failed..can you let me know how this works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 14:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887916#M309499</guid>
      <dc:creator />
      <dc:date>2015-06-02T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: % increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887917#M309500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see some problems with your nesting of the brackets. Furthermore you cant have an if in front of the Aggr-function unless it only returns a single value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 14:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887917#M309500</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-02T14:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: % increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887918#M309501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm..it was just a psedo code only..thats the issue it was returning only 1 value any other way of achiveving this..other than using aggr function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 14:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887918#M309501</guid>
      <dc:creator />
      <dc:date>2015-06-02T14:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: % increase, % decrease</title>
      <link>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887919#M309502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-Sum( Aggr( Sum([Today's price]/[yesterday's price] - 1) , Product) &amp;gt; 0.01) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will work for you finding all that are above 1%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 17:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/increase-decrease/m-p/887919#M309502</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-02T17:14:37Z</dc:date>
    </item>
  </channel>
</rss>

