<?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 2 months Prior and 2 months after Sales in Insight Advisor</title>
    <link>https://community.qlik.com/t5/Insight-Advisor/2-months-Prior-and-2-months-after-Sales/m-p/2064155#M232</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hi all&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have a challenge at work, i am trying to show sales for 2 months prior and two months after any time i select an asset, the idea is to see the sales perfomance from the date it was changed, i.e&amp;nbsp; two months before the change date and two months after the change date, i hav trked this for current selection...sum({$&amp;lt;[Change date] = {"&amp;gt;=$(MonthStart(Max([Change date]))) &amp;lt;=$(MonthEnd(Max([Change date]))))"}&amp;gt;} ANB)... also this for 2 months after....sum({$&amp;lt; [Collection date], [Change date] = {"&amp;gt;=$(MonthStart(Max([Change date],2))) &amp;lt;=$(MonthEnd(Max([Change date]),2)))"}&amp;gt;} ANB) and 2 months before&amp;nbsp;sum({$&amp;lt; [Collection date], [Change date] = {"&amp;gt;=$(MonthStart(Max([Change date],-2))) &amp;lt;=$(MonthEnd(Max([Change date]),-2)))"}&amp;gt;} ANB) but i doesn't seem to give the desired output.&amp;nbsp; I have attached a picture of the table, i just want 2 measures for 2 months before and 2 months after for any slected asset . Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anb==Sales" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105743i66FA7CC88E645E4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik hlp.PNG" alt="anb==Sales" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;anb==Sales&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 10:50:25 GMT</pubDate>
    <dc:creator>Bolijay00</dc:creator>
    <dc:date>2023-04-25T10:50:25Z</dc:date>
    <item>
      <title>2 months Prior and 2 months after Sales</title>
      <link>https://community.qlik.com/t5/Insight-Advisor/2-months-Prior-and-2-months-after-Sales/m-p/2064155#M232</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hi all&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have a challenge at work, i am trying to show sales for 2 months prior and two months after any time i select an asset, the idea is to see the sales perfomance from the date it was changed, i.e&amp;nbsp; two months before the change date and two months after the change date, i hav trked this for current selection...sum({$&amp;lt;[Change date] = {"&amp;gt;=$(MonthStart(Max([Change date]))) &amp;lt;=$(MonthEnd(Max([Change date]))))"}&amp;gt;} ANB)... also this for 2 months after....sum({$&amp;lt; [Collection date], [Change date] = {"&amp;gt;=$(MonthStart(Max([Change date],2))) &amp;lt;=$(MonthEnd(Max([Change date]),2)))"}&amp;gt;} ANB) and 2 months before&amp;nbsp;sum({$&amp;lt; [Collection date], [Change date] = {"&amp;gt;=$(MonthStart(Max([Change date],-2))) &amp;lt;=$(MonthEnd(Max([Change date]),-2)))"}&amp;gt;} ANB) but i doesn't seem to give the desired output.&amp;nbsp; I have attached a picture of the table, i just want 2 measures for 2 months before and 2 months after for any slected asset . Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anb==Sales" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105743i66FA7CC88E645E4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik hlp.PNG" alt="anb==Sales" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;anb==Sales&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 10:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Insight-Advisor/2-months-Prior-and-2-months-after-Sales/m-p/2064155#M232</guid>
      <dc:creator>Bolijay00</dc:creator>
      <dc:date>2023-04-25T10:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: 2 months Prior and 2 months after Sales</title>
      <link>https://community.qlik.com/t5/Insight-Advisor/2-months-Prior-and-2-months-after-Sales/m-p/2064271#M233</link>
      <description>&lt;P&gt;Some dummy data to work on please?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 13:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Insight-Advisor/2-months-Prior-and-2-months-after-Sales/m-p/2064271#M233</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2023-04-25T13:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: 2 months Prior and 2 months after Sales</title>
      <link>https://community.qlik.com/t5/Insight-Advisor/2-months-Prior-and-2-months-after-Sales/m-p/2064320#M234</link>
      <description>&lt;P&gt;Kaggle.com&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 14:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Insight-Advisor/2-months-Prior-and-2-months-after-Sales/m-p/2064320#M234</guid>
      <dc:creator>Bolijay00</dc:creator>
      <dc:date>2023-04-25T14:31:23Z</dc:date>
    </item>
  </channel>
</rss>

