<?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: How to show current year current month Vs Previous year same month data into pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303104#M405884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really? We are ignoring selection in Year field.... can you share a sample where we can see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2017 12:34:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-07-13T12:34:11Z</dc:date>
    <item>
      <title>How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303096#M405876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a issue to populate the current month sales vs previous year same month sales in pivot table.&lt;/P&gt;&lt;P&gt;I have columns like Year, Month and Sales. and created a pivot table.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if i select any year and month in the list box&amp;nbsp; it should show selected year and month sales and previous year same month sales into the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i can populate the current year sales using &lt;STRONG&gt;Sum(Sales) but i am not able to populate the &lt;STRONG style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;Previous &lt;/STRONG&gt;sales.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;please help to find the privies sales expression.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;below is the out put table if i select the &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Year = 2017,2016,2015,2014,2013 and Month = July.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Current year&amp;nbsp; sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Previous sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;July&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;July&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;July&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4500&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;July&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7600&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;July&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3400&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 11:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303096#M405876</guid>
      <dc:creator>venkatbza</dc:creator>
      <dc:date>2017-07-13T11:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303097#M405877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM(Sales)&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;Below(Total SUM({&amp;lt;Year, Month&amp;gt;}Sales)) * Avg(1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 11:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303097#M405877</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-07-13T11:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303098#M405878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can also look into&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 11:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303098#M405878</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-13T11:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303099#M405879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish thanks for your reply.&lt;/P&gt;&lt;P&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;Below(Total SUM({&amp;lt;Year, Month&amp;gt;}Sales)) * Avg(1)&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;I tried with your expression it is &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;giving &lt;STRONG&gt;current year previous month total.&lt;/STRONG&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;but my requirement is i need to show privies year same month total(July-2016)&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;if i select July 2017 in my list box, current sales should be sum of sales July-2017 and &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;previous sales should be sum of July -2016 &lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303099#M405879</guid>
      <dc:creator>venkatbza</dc:creator>
      <dc:date>2017-07-13T12:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303100#M405880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below(Total SUM({&amp;lt;Year, Month&amp;gt;}Sales)&lt;SPAN style="color: #ff0000;"&gt;, 12&lt;/SPAN&gt;) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303100#M405880</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-13T12:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303101#M405881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What chart/object you are using?&lt;/P&gt;&lt;P&gt;what are the dimensions in that object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303101#M405881</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-07-13T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303102#M405882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using pivot table and my Dimensions is &lt;/P&gt;&lt;P&gt;Year and Month &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303102#M405882</guid>
      <dc:creator>venkatbza</dc:creator>
      <dc:date>2017-07-13T12:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303103#M405883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny your expression is working fine when there is no year selections, if i select any year it is showing 0 values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303103#M405883</guid>
      <dc:creator>venkatbza</dc:creator>
      <dc:date>2017-07-13T12:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303104#M405884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really? We are ignoring selection in Year field.... can you share a sample where we can see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1303104#M405884</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-13T12:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to show current year current month Vs Previous year same month data into pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1642304#M447276</link>
      <description>Hi, When I use this expression, Below(Total SUM({&amp;lt;[Fiscal Year], [Fiscal Month],[Fiscal Month Name]&amp;gt;}ExtendedNetPrice), 12) * Avg(1) I can see the correct output in pivot grid. See Pivot1.png But when I change the dimension from vertical to horizontal the expression is not working. See Pivot2.png</description>
      <pubDate>Sun, 03 Nov 2019 07:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-current-year-current-month-Vs-Previous-year-same/m-p/1642304#M447276</guid>
      <dc:creator>gsiva1220</dc:creator>
      <dc:date>2019-11-03T07:25:16Z</dc:date>
    </item>
  </channel>
</rss>

