<?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: Comparative Analysis with (previous month data) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429911#M487879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&lt;STRONG&gt; For Current Year, Current Month:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;CalendarYear={$(=max(CalendarYear))},CalendarMonth={$(=Month(Max(Date)))}&amp;gt;} ReceiptAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt; For Same Month of Previous Year&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;CalendarYear={$(=max(CalendarYear)-1)}&amp;gt;},MonthNumber={"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} MonthNumber))"}&amp;gt;}} ReceiptAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) &lt;STRONG&gt;For Prev. Month&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;CalendarYear={$(=max(CalendarYear))},CalendarMonth={$(=Month(Max(Date)-31))}&amp;gt;} ReceiptAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works for you . . . &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 12:08:12 GMT</pubDate>
    <dc:creator>prasad_dumbre</dc:creator>
    <dc:date>2013-01-17T12:08:12Z</dc:date>
    <item>
      <title>Comparative Analysis with (previous month data)</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429906#M487874</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 want to creat a report on comparison of : - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)current year month(2013-Jan) -&amp;nbsp; sum( {$&amp;lt;year = {$(=Max(year))}&amp;gt;} Wholesale.TOTAL_QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) previous year month(2012-Jan)&amp;nbsp; -&amp;nbsp; sum( {$&amp;lt;year = {$(=Max(year)-1)}&amp;gt;} Wholesale.TOTAL_QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) current year month -1 (2012-Dec),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done with first 2 points by set analysis with this formula but what set analysis i hv to use to create a graph for 3 point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the below image for reference, i have to create such chart in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible reply soon, its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="30713" class="jive-image-thumbnail jive-image" height="336" onclick="" alt="Image.PNG" src="https://community.qlik.com/legacyfs/online/30713_Image.PNG" width="613" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 09:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429906#M487874</guid>
      <dc:creator>suresh_rawat</dc:creator>
      <dc:date>2013-01-17T09:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative Analysis with (previous month data)</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429907#M487875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;STRONG&gt;Last year Month Sales: (&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;previous year month)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;CalendarYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;&lt;STRONG style="color: gray; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;OrdDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={'&amp;gt;=$(=MonthStart(Max(&lt;STRONG style="color: gray; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;OrdDate&lt;/EM&gt;&lt;/STRONG&gt;), -12))&amp;lt;=$(=MonthEnd(Max(&lt;STRONG style="color: gray; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;OrdDate&lt;/EM&gt;&lt;/STRONG&gt;), -12))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;Total_Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: #222222; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;STRONG&gt;For Current Month Sales:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;CalendarYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;$(=max(CalendarYear))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;$(=Month(Max(OrdDate)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;}&amp;gt;} &lt;SPAN style="color: #800000; font-family: Arial, sans-serif; font-size: 12px;"&gt;Total_Qty&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;STRONG&gt;For Last Month Sales:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;=sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;CalendarYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;$(=max(CalendarYear))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;$(=month(addmonths((max(OrdDate)),-1)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;}&amp;gt;}&lt;SPAN style="color: #800000; font-family: Arial, sans-serif; font-size: 12px;"&gt;Total_Qty&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;Nirav Bhimani&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 09:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429907#M487875</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2013-01-17T09:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative Analysis with (previous month data)</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429908#M487876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;For the third:&lt;/P&gt;&lt;P&gt;i think that you need to do for srt_analyses : &lt;/P&gt;&lt;P&gt;{$&amp;lt;year = {$(=Max(year)), Month=(Month(todat()-1))}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 09:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429908#M487876</guid>
      <dc:creator>Hafedh_BOUMESSOUER</dc:creator>
      <dc:date>2013-01-17T09:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative Analysis with (previous month data)</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429909#M487877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Nirav Bhimani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share me the QV application where you used these expressions??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 10:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429909#M487877</guid>
      <dc:creator>suresh_rawat</dc:creator>
      <dc:date>2013-01-17T10:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative Analysis with (previous month data)</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429910#M487878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 11:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429910#M487878</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2013-01-17T11:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative Analysis with (previous month data)</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429911#M487879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&lt;STRONG&gt; For Current Year, Current Month:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;CalendarYear={$(=max(CalendarYear))},CalendarMonth={$(=Month(Max(Date)))}&amp;gt;} ReceiptAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt; For Same Month of Previous Year&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;CalendarYear={$(=max(CalendarYear)-1)}&amp;gt;},MonthNumber={"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} MonthNumber))"}&amp;gt;}} ReceiptAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) &lt;STRONG&gt;For Prev. Month&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;CalendarYear={$(=max(CalendarYear))},CalendarMonth={$(=Month(Max(Date)-31))}&amp;gt;} ReceiptAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works for you . . . &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 12:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-Analysis-with-previous-month-data/m-p/429911#M487879</guid>
      <dc:creator>prasad_dumbre</dc:creator>
      <dc:date>2013-01-17T12:08:12Z</dc:date>
    </item>
  </channel>
</rss>

