<?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: Chart with months as dimension: Current month's data the same as last's in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780218#M276473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are after what is labelled Month 12 to show value for Month 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what is labelled Month 11 do you wish to show Month 11 value or that of Month 10 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2014 10:44:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-23T10:44:10Z</dc:date>
    <item>
      <title>Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780216#M276471</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 chart:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="74082" alt="Capture.PNG" class="image-1 jive-image" height="208" src="https://community.qlik.com/legacyfs/online/74082_Capture.PNG" style="max-width: 620px; height: 208.376288659794px; width: 539px;" width="539" /&gt;&lt;/P&gt;&lt;P&gt;It sums data by month.&lt;/P&gt;&lt;P&gt;I want the current month (12), instead of being the actual data, to be the same as the month before it (11).&lt;/P&gt;&lt;P&gt;How can it be done?&lt;/P&gt;&lt;P&gt;The attached qvw has the relevant chart.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 10:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780216#M276471</guid>
      <dc:creator />
      <dc:date>2014-12-23T10:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780217#M276472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly find the attached workaround for your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 10:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780217#M276472</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-12-23T10:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780218#M276473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are after what is labelled Month 12 to show value for Month 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what is labelled Month 11 do you wish to show Month 11 value or that of Month 10 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 10:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780218#M276473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-23T10:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780219#M276474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Please find the attached Document&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 10:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780219#M276474</guid>
      <dc:creator />
      <dc:date>2014-12-23T10:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780220#M276475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Among many options, one:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Month=vMaxMonth, sum(total {&amp;lt;Month={"$(vPreMaxMonth)"}&amp;gt;}Data), sum(Data))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 10:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780220#M276475</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-23T10:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780221#M276476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/message/553730"&gt;Tresesco&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I did the same before, but in my case its giving 148 to all the months can you tell me why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used:&lt;/P&gt;&lt;P&gt;if(Month=max(Month), sum(Total{&amp;lt;Month={'$(=Max(Month)-1)'}&amp;gt;}Data), sum(Data))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case all the months are getting same value, how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 11:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780221#M276476</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-12-23T11:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780222#M276477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because of 'Month=Max(Month)' section of the formula. While your dimension is Month, Max(Month) would be always the same month(that is there in the row) as in the rows. Hence, the Month=Max(Month) comes always true for all rows.&lt;/P&gt;&lt;P&gt;You could try:&lt;/P&gt;&lt;P&gt;if(Month=max(&lt;STRONG&gt;Total&lt;/STRONG&gt; Month), sum(Total{&amp;lt;Month={'$(=Max(Month)-1)'}&amp;gt;}Data), sum(Data))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 11:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780222#M276477</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-23T11:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with months as dimension: Current month's data the same as last's</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780223#M276478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; , thanks a lot &lt;A href="https://community.qlik.com/message/553730"&gt;Tresesco&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 11:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-months-as-dimension-Current-month-s-data-the-same-as/m-p/780223#M276478</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-12-23T11:27:43Z</dc:date>
    </item>
  </channel>
</rss>

