<?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: More date fun in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/More-date-fun/m-p/2548217#M110153</link>
    <description>&lt;P&gt;Just wanted to add that I think I got Switch B figured out:&lt;BR /&gt;&lt;BR /&gt;Sum({1&amp;lt;LoadDate={"&amp;gt;$(vGetLastMonthEndDT) &amp;lt;$(vGetNextMonthStartDT)" }&amp;gt;} X - Y - Z)&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2026 16:33:59 GMT</pubDate>
    <dc:creator>463</dc:creator>
    <dc:date>2026-04-30T16:33:59Z</dc:date>
    <item>
      <title>More date fun</title>
      <link>https://community.qlik.com/t5/App-Development/More-date-fun/m-p/2548210#M110149</link>
      <description>&lt;P&gt;My situation is that I want to display something of a switch with dates in a combo chart (bars and lines).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the switch is in the 'A' position, I want to display the values that are in the &lt;EM&gt;&lt;STRONG&gt;last&lt;/STRONG&gt; &lt;/EM&gt;file or data set I received for each month from the previous XX months.&amp;nbsp; If in the 'B' position, I want to display all of the values from the files that I received in the current month.&lt;BR /&gt;&lt;BR /&gt;With Apr as my current month:&lt;/P&gt;
&lt;P&gt;Switch A:&lt;BR /&gt;Jan&amp;nbsp; Feb&amp;nbsp; Mar&amp;nbsp; Apr&lt;/P&gt;
&lt;P&gt;Switch B:&lt;BR /&gt;1Apr&amp;nbsp; 7Apr&amp;nbsp; 10Apr&amp;nbsp; 29Apr&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And then when May comes around, Switch A would include May, Switch B would be the files loaded in May. No selections or filtering at this stage.&amp;nbsp; But, let me expand this just a bit as I am thinking for Switch B would be dedicated to show the files loaded in a 'selected' month (I don't want to say drill down but, in essence, that is what is being done.).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I currently have two date fields in my table.&amp;nbsp; One being the LoadDate (YYYYMMDD) and the other being the LoadMonth (YYMMM). I have one variable to capture the current month.&lt;/P&gt;
&lt;P&gt;What would be the expression to filter the last file's values for a month to satisfy Switch A? Is this possible?&lt;/P&gt;
&lt;P&gt;What would be the expression to filter the data for the current month to satisfy Switch B?&amp;nbsp; Is this possible?&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;= Sum({1&amp;lt;LoadMonth = {"='=vCurrentMonth'"}&amp;gt;} X - Y - Z)&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;I started with the above expression, but this now doesn't return anything.&amp;nbsp; I tried to filter or parse the LoadMonth with Date(Date#(LoadMonth,'YYMMM'),'YYMMM') but this didn't help.&amp;nbsp; What I am doing wrong here?&lt;BR /&gt;&lt;BR /&gt;TIA!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 15:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/More-date-fun/m-p/2548210#M110149</guid>
      <dc:creator>463</dc:creator>
      <dc:date>2026-04-30T15:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: More date fun</title>
      <link>https://community.qlik.com/t5/App-Development/More-date-fun/m-p/2548217#M110153</link>
      <description>&lt;P&gt;Just wanted to add that I think I got Switch B figured out:&lt;BR /&gt;&lt;BR /&gt;Sum({1&amp;lt;LoadDate={"&amp;gt;$(vGetLastMonthEndDT) &amp;lt;$(vGetNextMonthStartDT)" }&amp;gt;} X - Y - Z)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 16:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/More-date-fun/m-p/2548217#M110153</guid>
      <dc:creator>463</dc:creator>
      <dc:date>2026-04-30T16:33:59Z</dc:date>
    </item>
  </channel>
</rss>

