<?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: Previous month selection issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-month-selection-issue/m-p/1779157#M455067</link>
    <description>&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;gt;$(=min({1}Date))&amp;lt;$(=addmonths(max(Date),-1))"},&lt;SPAN&gt;Status={'Confirmed'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;lt;=$(=addmonths(max(Date),-1))"},&lt;SPAN&gt;Status={'Confirmed'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;count({&amp;lt;Date={"&amp;gt;$(=min({1}Date))&amp;lt;$(=addmonths(max(Date),-1))"},&lt;SPAN&gt;Status={'Confirmed'}&lt;/SPAN&gt;&amp;gt;}Distinct [&lt;SPAN&gt;DimensionField]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check for the Date format:&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 02:26:22 GMT</pubDate>
    <dc:creator>PriyankaShivhare</dc:creator>
    <dc:date>2021-02-02T02:26:22Z</dc:date>
    <item>
      <title>Previous month selection issue</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-selection-issue/m-p/1779093#M455066</link>
      <description>&lt;P&gt;HI team&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Have two years of data&amp;nbsp; From Jan 2018 to Dec 2019,&amp;nbsp; &amp;nbsp;i got a requirement from the user when the user selects any month filter (list box or filter pane)&amp;nbsp; data should be calculated from&amp;nbsp; Mindate to the previous month based on the current selection&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg: if user selects&amp;nbsp; Dec 2019&amp;nbsp; data should be calculated from Jan 2018(Min date) to Nov 2019&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried so many expressions&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;COUNT(distinct {&amp;lt;current_Month={"${=Date(MonthStart(max(current_Month), -1),'MMM-YY'))"},Status={'Confirmed '}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;I had tried my expressions didn't work&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-selection-issue/m-p/1779093#M455066</guid>
      <dc:creator>saradhi_it</dc:creator>
      <dc:date>2024-11-16T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month selection issue</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-selection-issue/m-p/1779157#M455067</link>
      <description>&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;gt;$(=min({1}Date))&amp;lt;$(=addmonths(max(Date),-1))"},&lt;SPAN&gt;Status={'Confirmed'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;lt;=$(=addmonths(max(Date),-1))"},&lt;SPAN&gt;Status={'Confirmed'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;count({&amp;lt;Date={"&amp;gt;$(=min({1}Date))&amp;lt;$(=addmonths(max(Date),-1))"},&lt;SPAN&gt;Status={'Confirmed'}&lt;/SPAN&gt;&amp;gt;}Distinct [&lt;SPAN&gt;DimensionField]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check for the Date format:&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 02:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-selection-issue/m-p/1779157#M455067</guid>
      <dc:creator>PriyankaShivhare</dc:creator>
      <dc:date>2021-02-02T02:26:22Z</dc:date>
    </item>
  </channel>
</rss>

