<?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 Prior 3 month Set Analysis and Above function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Prior-3-month-Set-Analysis-and-Above-function/m-p/1630152#M46927</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I used the following logic to try to develop a table to show, by YYYY-MM, the total Amount and the Prior 3 month Amount.&amp;nbsp; It looked promising until I realized it would not show the first 3 months (due to my selection of fiscal year 2019).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prior 3 month&lt;/P&gt;&lt;P&gt;=If(Sum(DENIAL_AMOUNT_LINE) &amp;gt; 0, Above(sum({&amp;lt;CalendarYearMonth=&amp;gt;}[DENIAL_AMOUNT_LINE]),3))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20464iD2C0A00F940DA117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've gone back to the drawing board and am trying to use set analysis to get the prior 3 month amount.&amp;nbsp; I'm currently using the following logic in the table below (Prior 3 months TESTING):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;CREATE_DATE= {"&amp;gt;=$(=AddMonths(CREATE_DATE),-3)&amp;lt;=$(=AddMonths(CREATE_DATE),-3)"} &amp;gt;} DENIAL_AMOUNT_LINE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 727px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20465i8D14B9545B1F720D/image-dimensions/727x222?v=v2" width="727" height="222" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I am doing something incorrectly as my numbers are matching back to the "Amount" column.&amp;nbsp; Ideally I'd like to show what the prior 3 month amount was.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction?&amp;nbsp; Any help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2019 15:56:01 GMT</pubDate>
    <dc:creator>john_Talampas</dc:creator>
    <dc:date>2019-10-01T15:56:01Z</dc:date>
    <item>
      <title>Prior 3 month Set Analysis and Above function</title>
      <link>https://community.qlik.com/t5/App-Development/Prior-3-month-Set-Analysis-and-Above-function/m-p/1630152#M46927</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I used the following logic to try to develop a table to show, by YYYY-MM, the total Amount and the Prior 3 month Amount.&amp;nbsp; It looked promising until I realized it would not show the first 3 months (due to my selection of fiscal year 2019).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prior 3 month&lt;/P&gt;&lt;P&gt;=If(Sum(DENIAL_AMOUNT_LINE) &amp;gt; 0, Above(sum({&amp;lt;CalendarYearMonth=&amp;gt;}[DENIAL_AMOUNT_LINE]),3))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20464iD2C0A00F940DA117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've gone back to the drawing board and am trying to use set analysis to get the prior 3 month amount.&amp;nbsp; I'm currently using the following logic in the table below (Prior 3 months TESTING):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;CREATE_DATE= {"&amp;gt;=$(=AddMonths(CREATE_DATE),-3)&amp;lt;=$(=AddMonths(CREATE_DATE),-3)"} &amp;gt;} DENIAL_AMOUNT_LINE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 727px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20465i8D14B9545B1F720D/image-dimensions/727x222?v=v2" width="727" height="222" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I am doing something incorrectly as my numbers are matching back to the "Amount" column.&amp;nbsp; Ideally I'd like to show what the prior 3 month amount was.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction?&amp;nbsp; Any help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 15:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Prior-3-month-Set-Analysis-and-Above-function/m-p/1630152#M46927</guid>
      <dc:creator>john_Talampas</dc:creator>
      <dc:date>2019-10-01T15:56:01Z</dc:date>
    </item>
  </channel>
</rss>

