<?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 Show previous year month data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-previous-year-month-data/m-p/1820019#M1213381</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;Am showing data in below format- data up to 5 july2021&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pk_0-1625563337509.png" style="width: 729px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58073iFE1C693DB4A966A9/image-dimensions/729x93?v=v2" width="729" height="93" role="button" title="pk_0-1625563337509.png" alt="pk_0-1625563337509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;created 4 columns like&lt;BR /&gt;05-Jul-2021 - showing data of today - 1 day data&lt;BR /&gt;Up To 05-Jul-2021 - showing data of FTM or till date data(01july2021 to 05july2021)&lt;BR /&gt;Up To 05-Jun-2021 - showing data of previous month data(01june2021 to 05june2021)&lt;BR /&gt;Up To 05-Jul-2020 - showing data of previous years FTM dat(01july2020 to 05july2020)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;following is the exp i used in 4th column-&lt;/P&gt;&lt;P&gt;num( sum({1&amp;lt;[Posting Date]={"&amp;gt;=$(vMnstartPY)&amp;lt;=$(vMxDatePY)"},&lt;BR /&gt;GLCode={'004117801010',,'004310781010'},[Profit Center]-={'0000010626','0000010627'}&amp;gt;}Value/100000),'#,###.00' )&lt;/P&gt;&lt;P&gt;Variable-&lt;BR /&gt;vMnstartPY=date(Num(AddYears(MonthStart(Max(Posting Date])),-1)),'DD-MM-YYYY')&lt;BR /&gt;vMxDatePY=date(Num(AddYears(Max([Posting Date]),-1)),'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if there is no sales for any customer in the current year and there is sale is in previous year (month) then that line item is not getting populate in the pivot chart&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 10:05:23 GMT</pubDate>
    <dc:creator>pk</dc:creator>
    <dc:date>2021-07-06T10:05:23Z</dc:date>
    <item>
      <title>Show previous year month data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-previous-year-month-data/m-p/1820019#M1213381</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;Am showing data in below format- data up to 5 july2021&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pk_0-1625563337509.png" style="width: 729px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58073iFE1C693DB4A966A9/image-dimensions/729x93?v=v2" width="729" height="93" role="button" title="pk_0-1625563337509.png" alt="pk_0-1625563337509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;created 4 columns like&lt;BR /&gt;05-Jul-2021 - showing data of today - 1 day data&lt;BR /&gt;Up To 05-Jul-2021 - showing data of FTM or till date data(01july2021 to 05july2021)&lt;BR /&gt;Up To 05-Jun-2021 - showing data of previous month data(01june2021 to 05june2021)&lt;BR /&gt;Up To 05-Jul-2020 - showing data of previous years FTM dat(01july2020 to 05july2020)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;following is the exp i used in 4th column-&lt;/P&gt;&lt;P&gt;num( sum({1&amp;lt;[Posting Date]={"&amp;gt;=$(vMnstartPY)&amp;lt;=$(vMxDatePY)"},&lt;BR /&gt;GLCode={'004117801010',,'004310781010'},[Profit Center]-={'0000010626','0000010627'}&amp;gt;}Value/100000),'#,###.00' )&lt;/P&gt;&lt;P&gt;Variable-&lt;BR /&gt;vMnstartPY=date(Num(AddYears(MonthStart(Max(Posting Date])),-1)),'DD-MM-YYYY')&lt;BR /&gt;vMxDatePY=date(Num(AddYears(Max([Posting Date]),-1)),'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if there is no sales for any customer in the current year and there is sale is in previous year (month) then that line item is not getting populate in the pivot chart&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 10:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-previous-year-month-data/m-p/1820019#M1213381</guid>
      <dc:creator>pk</dc:creator>
      <dc:date>2021-07-06T10:05:23Z</dc:date>
    </item>
  </channel>
</rss>

