<?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 Growth of unit price / percentage of evolution. It looks simple but.... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151652#M588588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you populating the dimension [Stat]?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2011 07:53:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-15T07:53:27Z</dc:date>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151649#M588585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It looks easy on the paper, but how do you do produce such table?&lt;/P&gt;&lt;P&gt;I have a dimension [Stat] which contains the value M, M-1, YTD, YTD-1&lt;/P&gt;&lt;P&gt;I am creating a AsOf table to easily calculate those statistics (&lt;A href="https://community.qlik.com/forums/t/41759.aspx" target="_blank" title="http://community.qlik.com/forums/t/41759.aspx"&gt;http://community.qlik.com/forums/t/41759.aspx&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Sales &amp;amp; Qty are expression such as:&lt;/P&gt;&lt;P&gt;Sales: Sum({${$&amp;lt;[As of Month]=SliderMonth&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Qty: Sum({${$&amp;lt;[As of Month]=SliderMonth&amp;gt;}Qty)&lt;/P&gt;&lt;P&gt;UnitPrice: Sales / Qty&lt;/P&gt;&lt;P&gt;1st question: How do I add 2 extra member (%Growth_M and %Growth_YTD) to my dimension [Stat]?&lt;/P&gt;&lt;P&gt;Calculation for Growth members are (M - (M-1))/(M-1) and (YTD - (YTD-1))/(YTD - 1)&lt;/P&gt;&lt;P&gt;Am i going to adjust the expression Sales &amp;amp; Qty to answer to that?&lt;/P&gt;&lt;P&gt;2nd (remark): I need to make sure that the growth of Unit Price is calculated correctly;&lt;/P&gt;&lt;P&gt;- it should be (UnitPrice(M) - UnitPrice(M-1))/UnitPrice(M-1)&lt;/P&gt;&lt;P&gt;- and not %Growth_M(Sales) / %Growth_M(Qty) ==&amp;gt; totally wrong&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3753_sourceID:3753" /&gt;&lt;/P&gt;&lt;P&gt;How to do that? Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 11:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151649#M588585</guid>
      <dc:creator />
      <dc:date>2011-03-09T11:51:04Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151650#M588586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help? I am now confused with what to use as Expression or Dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 16:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151650#M588586</guid>
      <dc:creator />
      <dc:date>2011-03-09T16:14:39Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151651#M588587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No one interested?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 06:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151651#M588587</guid>
      <dc:creator />
      <dc:date>2011-03-15T06:26:42Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151652#M588588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you populating the dimension [Stat]?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 07:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151652#M588588</guid>
      <dc:creator />
      <dc:date>2011-03-15T07:53:27Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151653#M588589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi iassen;&lt;/P&gt;&lt;P&gt;I have attached an example to my initial post. For the dimension [Range], it only contains 4 entries (M, M-1, YTD, YTD-1). I have created it with a distinct from the "AsOf" table, but I also could have used an inline statement.&lt;/P&gt;&lt;P&gt;I purposely named it differently ("DateMonth Range" &amp;lt;&amp;gt; "Range"), so I can use it with other date dimension.&lt;/P&gt;&lt;P&gt;So now, how so I calculate the % of variation between M and M-1? YTD and YTD-1?&lt;/P&gt;&lt;P&gt;And then same for my expression "UnitPrice"&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 13:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151653#M588589</guid>
      <dc:creator />
      <dc:date>2011-03-15T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151654#M588590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest thing seems to be to add another two CONCATENATES to your AsOf table. One for %Growth_M where you will load all members for 'M' &amp;amp; 'M-1', but you will have to introduce one more level of grouping so that you can distinguish them in your expression. And the exact same thing for %Growth_YTD, only this time with all memebers for 'YTD' &amp;amp; 'YTD-1'. That should give you the two extra members in your [Range] dimension and you will be able to perform your calculations for them using the original DateMonth Range and the new level of grouping that you will add.&lt;/P&gt;&lt;P&gt;Let me know if you need more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 13:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151654#M588590</guid>
      <dc:creator />
      <dc:date>2011-03-15T13:52:49Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151655#M588591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks iassen, but I don't understand how it is going to help me to perform divisions to calculate %GrowthM/M-1 and %GrowthYTD/YTD-1, whereas for M, M-1, YTD and YTD-1 it simply does aggregation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 15:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151655#M588591</guid>
      <dc:creator />
      <dc:date>2011-03-15T15:06:32Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151656#M588592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the aggregations and simply divide the aggregated functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 15:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151656#M588592</guid>
      <dc:creator />
      <dc:date>2011-03-15T15:16:01Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151657#M588593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still new in QV and can't figure out how to do it with the structure of my data &amp;amp; output table.&lt;/P&gt;&lt;P&gt;Could you give me a sample or the syntax of my expression&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 16:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151657#M588593</guid>
      <dc:creator />
      <dc:date>2011-03-15T16:15:07Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151658#M588594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...it will be something like (SUM(M)-SUM(M1))/SUM(M1).&lt;/P&gt;&lt;P&gt;If you give me a sample app with data, that I can reload, I will be able to show you in details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 16:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151658#M588594</guid>
      <dc:creator />
      <dc:date>2011-03-15T16:21:41Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151659#M588595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your time. I now attached the fact data (*.xlsx) that I use to build the QV example above.&lt;/P&gt;&lt;P&gt;Looking forward your response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 17:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151659#M588595</guid>
      <dc:creator />
      <dc:date>2011-03-15T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151660#M588596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the general idea... I have done only the first one, but the second one will go the same way. Enjoy! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 18:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151660#M588596</guid>
      <dc:creator />
      <dc:date>2011-03-15T18:13:46Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151661#M588597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi iassen,&lt;/P&gt;&lt;P&gt;Thanks for your time. I have looked at your solution, I was expecting something more generic, like using another expression or calculated dimension for %growth_M, which will be applied to my existing expressions Qty &amp;amp; Sales.&lt;/P&gt;&lt;P&gt;Modifying each of my expression to add if statements to test which stat I want to calculate is totally inconceivable for my users&lt;/P&gt;&lt;P&gt;I am expected an expression which says %growth_M = (M - (M-1))/(M-1). and it will get apply to my Qty and Sales automatically&lt;/P&gt;&lt;P&gt;On your example, you have alterate the "AsOf" table to add a field "DateMonth Sub Range", but you do not make any use of it. If it was for adding the element "%growth_M", we could just add it in the independant column "Range". No?&lt;/P&gt;&lt;P&gt;Thanks. Any other experience / suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 04:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151661#M588597</guid>
      <dc:creator />
      <dc:date>2011-03-16T04:22:41Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151662#M588598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With your current set up, building a simple formula is not possible. If you want to use M, M-1, etc. you will have to have separate expressions for them and not use this Range column. Check it now?&lt;/P&gt;&lt;P&gt;PS: Yes, that sub range column is not used. I left it there for debugging purposes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 06:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151662#M588598</guid>
      <dc:creator />
      <dc:date>2011-03-16T06:53:33Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151663#M588599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iassen&lt;/P&gt;&lt;P&gt;Sorry for the late reply. I have played in the meantime with Excel 2010 and their pivot table; it is so easy (although not everything is correct) to add new field and new item in an existing dimension. I do not know if you can open the attached Excel file to see.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0638.Sales_2600_Qty.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0638.Sales_2600_Qty.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is still a solve order problem between field &amp;amp; item. All cells highlighted in red are wrong as it does not calculate the growth of unit price but the 'unit price of the growth'.&lt;/P&gt;&lt;P&gt;I am amazed about this limitation in QV where the only solution is to code all the if conditions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 15:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151663#M588599</guid>
      <dc:creator />
      <dc:date>2011-03-21T15:19:58Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151664#M588600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't call it a limitation, but rather more complex. On the other hand, we can do things in QlikView that are not possible in XLS, so it's a question of what do you want to do and picking the best tool to do so. Anyhow, I didn't get you...is my solution giving you wrong results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 17:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151664#M588600</guid>
      <dc:creator />
      <dc:date>2011-03-21T17:33:41Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151665#M588601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iassen,&lt;/P&gt;&lt;P&gt;Thanks again for your time, your answers are working, but if I multiply the number of columns (statistics) and rows (expression), this won't be handy for my end-user. I was hoping for a simpler solution such as what Excel does with its PivotTable.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 02:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151665#M588601</guid>
      <dc:creator />
      <dc:date>2011-03-22T02:27:26Z</dc:date>
    </item>
    <item>
      <title>Growth of unit price / percentage of evolution. It looks simple but....</title>
      <link>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151666#M588602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I have pretty much given you the two options that I know of: (1) Named columns in the chart, and (2) named columns in the script.&lt;/P&gt;&lt;P&gt;Keep in mind that the general intent in QlikView is to have reports pre-made for your end users, so they don't spend time creating them. Although, there is this new plug-in for Excel where you can connect an xls file to a qvw file being the datasource and you can use the flexible formulas in xls. You can check it here: &lt;A href="http://www.qvexcel.com/"&gt;http://www.qvexcel.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need further assistance.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 06:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Growth-of-unit-price-percentage-of-evolution-It-looks-simple-but/m-p/151666#M588602</guid>
      <dc:creator />
      <dc:date>2011-03-22T06:02:23Z</dc:date>
    </item>
  </channel>
</rss>

