<?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: Variables and straight table calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64194#M10693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample which shows the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 13:04:35 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-03-21T13:04:35Z</dc:date>
    <item>
      <title>Variables and straight table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64193#M10692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built the below straight table and variables. I am doing sums based on months or month averages.&lt;/P&gt;&lt;P&gt;I need to be able to change the Current month variable each month and have the calculate each column automatically.&lt;/P&gt;&lt;P&gt;The issue i am having is that it only works if the CurrentMonth variable is 12 (December). If i use any other month, it bugs because we are overlapping 2 different years.&amp;nbsp; Can some help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qilk view capture.JPG" class="jive-image image-1" src="/legacyfs/online/196987_qilk view capture.JPG" style="height: 177px; width: 620px;" /&gt;&lt;IMG alt="Capture Qlik view variables.JPG" class="jive-image image-2" src="/legacyfs/online/196997_Capture Qlik view variables.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 12:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64193#M10692</guid>
      <dc:creator>maudifer</dc:creator>
      <dc:date>2018-03-21T12:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and straight table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64194#M10693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample which shows the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64194#M10693</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-21T13:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and straight table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64195#M10694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see below, when i change the current month and year, it does not work.&lt;/P&gt;&lt;P&gt;I first created this to report on Dec 17 and the below example i tried to report on Jan 18&lt;/P&gt;&lt;P&gt;but it seems to not work when I do that . It won't calculate anymore and it also does not know that the month before Month 1 of 2018 is month 12 of 2017&lt;/P&gt;&lt;P&gt;Do you know how I could set the variables to it knows what the previous month is even if it a different year ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture FCl teu with issue.JPG" class="jive-image image-1" src="/legacyfs/online/197021_Capture FCl teu with issue.JPG" style="height: 306px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 14:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64195#M10694</guid>
      <dc:creator>maudifer</dc:creator>
      <dc:date>2018-03-21T14:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and straight table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64196#M10695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;vpreviousmonth1&lt;/P&gt;&lt;P style="font-size: 24.6755px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;=Month(AddMonths(makeDate(2018,$(vCurrentmonth),1),-1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13px; font-weight: inherit; font-style: inherit;"&gt;vpreviousmonth2 &lt;/SPAN&gt;&lt;SPAN style="font-size: 24.6755px;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13px;"&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; font-size: 13px;"&gt;=Month(AddMonths(makeDate(2018,$(vCurrentmonth),1),-2))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 19:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-straight-table-calculation/m-p/64196#M10695</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2018-03-23T19:08:18Z</dc:date>
    </item>
  </channel>
</rss>

