<?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: Month-over-Month expression in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-over-Month-expression-in-straight-table/m-p/490188#M482402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow... I was going in the completely wrong direction. Thank you very much for the quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Aug 2013 16:10:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-13T16:10:40Z</dc:date>
    <item>
      <title>Month-over-Month expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Month-over-Month-expression-in-straight-table/m-p/490186#M482400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I am trying to create an expression that looks at month-over-month changes. This would be in a straight table. The month dimension of the chart is named [Ordered Month].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the current period expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13764084707943865" jivemacro_uid="_13764084707943865"&gt;&lt;P&gt;SUM([Running Day Count])/COUNT([Magnet Order ID])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all sorts of set notation. I think I'm on the right track, because this expression quasi-works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13764085030411446" jivemacro_uid="_13764085030411446"&gt;&lt;P&gt;SUM({&amp;lt;[Ordered Month] = {May}&amp;gt;} [Running Day Count])/(COUNT({&amp;lt;[Ordered Month] = {May}&amp;gt;} [Magnet Order ID]))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, I am hard-coding May in the expression formula above. This works, but only for the row in my table for May. I want to generalize this formula to be the previous month for each month value in the dimension. Once I do that, I'll subtract this good formula from the basic sum()/count() expression to get the month-over-month delta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I don't have an easy way to scrub out senstive data in order to post the .QVW here. I appreciate any help you can offer!&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;Message was edited by: sdseasd1 (formatting code chunks appropriately)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 15:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-over-Month-expression-in-straight-table/m-p/490186#M482400</guid>
      <dc:creator />
      <dc:date>2013-08-13T15:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Month-over-Month expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Month-over-Month-expression-in-straight-table/m-p/490187#M482401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the set expression, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=above(column(1))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to retrieve the value for the previous month that is calculated in column(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Or repeat your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=above( YourExpressionComesHere )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 15:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-over-Month-expression-in-straight-table/m-p/490187#M482401</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-08-13T15:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Month-over-Month expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Month-over-Month-expression-in-straight-table/m-p/490188#M482402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow... I was going in the completely wrong direction. Thank you very much for the quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 16:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-over-Month-expression-in-straight-table/m-p/490188#M482402</guid>
      <dc:creator />
      <dc:date>2013-08-13T16:10:40Z</dc:date>
    </item>
  </channel>
</rss>

