<?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 Help with Addmonths() set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1595823#M737930</link>
    <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I'm trying to add the Forecast Quantity based on monthly lead time. For example, if an Item has 217 days as order lead time, monthly lead time is 7 and I add the Forecast quantities of the first seven months. My expression works fine when an item is selected, but it does not work and sums up all 12 months when no selections are made. Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Below is my expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Forecast_Date = {"&amp;gt;=$(=Date(MonthStart(Today(1)))) &amp;lt;$(=Date(addmonths(MonthStart(today(1)),[Monthly Lead Time])))"}&amp;gt;}[Forecast Quantity])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:11:20 GMT</pubDate>
    <dc:creator>sangeess21</dc:creator>
    <dc:date>2024-11-16T03:11:20Z</dc:date>
    <item>
      <title>Help with Addmonths() set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1595823#M737930</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I'm trying to add the Forecast Quantity based on monthly lead time. For example, if an Item has 217 days as order lead time, monthly lead time is 7 and I add the Forecast quantities of the first seven months. My expression works fine when an item is selected, but it does not work and sums up all 12 months when no selections are made. Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Below is my expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Forecast_Date = {"&amp;gt;=$(=Date(MonthStart(Today(1)))) &amp;lt;$(=Date(addmonths(MonthStart(today(1)),[Monthly Lead Time])))"}&amp;gt;}[Forecast Quantity])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1595823#M737930</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2024-11-16T03:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Addmonths() set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1595863#M737931</link>
      <description>&lt;P&gt;May be you need to do a Max here?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;Forecast_Date = {"&amp;gt;=$(=Date(MonthStart(Today(1)))) &amp;lt;$(=Date(MonthStart(Today(1), Max([Monthly Lead Time]))))"}&amp;gt;} [Forecast Quantity])&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Jun 2019 18:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1595863#M737931</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-25T18:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Addmonths() set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1595915#M737932</link>
      <description>&lt;P&gt;It's not working. It still summing up the quantities of the 12 months.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 21:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1595915#M737932</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2019-06-25T21:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Addmonths() set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1596190#M737933</link>
      <description>&lt;P&gt;Would you be able to share a sample where we can see the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 11:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Addmonths-set-analysis/m-p/1596190#M737933</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-26T11:07:12Z</dc:date>
    </item>
  </channel>
</rss>

