<?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: Pivot Table with Last Three Month and YTD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-with-Last-Three-Month-and-YTD/m-p/2417870#M95388</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243842"&gt;@Nin_04&lt;/a&gt;&amp;nbsp;I guess this is doable, Do you have sample QVF file to work with?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 19:39:28 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2024-02-12T19:39:28Z</dc:date>
    <item>
      <title>Pivot Table with Last Three Month and YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-with-Last-Three-Month-and-YTD/m-p/2417868#M95387</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I need to develop a pivot table with the following structure:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nin_04_0-1707752152113.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159555i50403A27FCAA83F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nin_04_0-1707752152113.png" alt="Nin_04_0-1707752152113.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;all very easy to create if the requirement had been "only the last 3 month in the columuns" without YTD Column.&amp;nbsp; how I could add the YTD column? how can manage the YTD and last 3 months without impacting perfromace?If not the pivot table,&amp;nbsp; what other chart could I use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for the help&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 19:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-with-Last-Three-Month-and-YTD/m-p/2417868#M95387</guid>
      <dc:creator>Nin_04</dc:creator>
      <dc:date>2024-02-12T19:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with Last Three Month and YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-with-Last-Three-Month-and-YTD/m-p/2417870#M95388</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243842"&gt;@Nin_04&lt;/a&gt;&amp;nbsp;I guess this is doable, Do you have sample QVF file to work with?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 19:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-with-Last-Three-Month-and-YTD/m-p/2417870#M95388</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-12T19:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with Last Three Month and YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-with-Last-Three-Month-and-YTD/m-p/2417956#M95392</link>
      <description>&lt;P&gt;Create an inline dimension table for column groups as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Load * inline [
Period
1
2
3
4
]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Pivot Table Use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Row Dimensions: Product&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;column Dimension&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; = Pick(Period&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; , Maxstring({&amp;lt;Date={"$(=Date(AddMonths(Max(Datefield),-2)))"}&amp;gt;}MonthYearField)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;, Maxstring({&amp;lt;Date={"$(=Date(AddMonths(Max(Datefield),-1)))"}&amp;gt;}MonthYearField)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;, Maxstring({&amp;lt;Date={"$(=Date(Max(Datefield)))"}&amp;gt;}MonthYearField)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;,'YTD ' &amp;amp; Maxstring({&amp;lt;Date={"=$(=Date(Max(Datefield)))"}&amp;gt;} YearField)&amp;nbsp; )&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3 Measures as below,&lt;U&gt; replicate for each measure typeA,TypeB,TypeA+B :&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=Pick(Period ,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;, sum({&amp;lt;Date={"$(=Date(AddMonths(Max(Datefield),-2)))"}&amp;gt;} TypeA) //prev to prev month&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;, sum({&amp;lt;Date={"$(=Date(AddMonths(Max(Datefield),-1)))"}&amp;gt;} TypeA) //Prev MOnth&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;, sum({&amp;lt;Date={"$(=Date(Max(Datefield)))"}&amp;gt;} TypeA)&amp;nbsp; // Current Month&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;, sum({&amp;lt;Date={"&amp;gt;=$(=YearStart(Max(Datefield)))&amp;lt;=$(=Date(Max(Datefield)))"}&amp;gt;} TypeA)&amp;nbsp; //YTD&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 00:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-with-Last-Three-Month-and-YTD/m-p/2417956#M95392</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2024-02-13T00:55:00Z</dc:date>
    </item>
  </channel>
</rss>

