<?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 Problem with Date Timestamp in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-with-Date-Timestamp/m-p/1586710#M42930</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm developing a set analysis condition to filter only 3 months.&lt;/P&gt;&lt;P&gt;For it, i have 2 variables:&lt;/P&gt;&lt;P&gt;$(v1) =&amp;nbsp;Max(Date(AddMonths(Date,-6), 'MMM YY')), output: Dec 18&lt;/P&gt;&lt;P&gt;$(v2) =&amp;nbsp;Max(Date(AddMonths(Date,-12), 'MMM YY')), output: Jun 18.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when i try to create a set analysis with both that conditions, it gets me a error.&lt;/P&gt;&lt;P&gt;Set analysis:&amp;nbsp;Count({&amp;lt; [Date]={"&amp;gt;=$(=v2) &amp;lt;=$(=v1)"} &amp;gt;} [Measure])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:42:04 GMT</pubDate>
    <dc:creator>50ShadesOfSalty</dc:creator>
    <dc:date>2024-11-16T05:42:04Z</dc:date>
    <item>
      <title>Problem with Date Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-Date-Timestamp/m-p/1586710#M42930</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm developing a set analysis condition to filter only 3 months.&lt;/P&gt;&lt;P&gt;For it, i have 2 variables:&lt;/P&gt;&lt;P&gt;$(v1) =&amp;nbsp;Max(Date(AddMonths(Date,-6), 'MMM YY')), output: Dec 18&lt;/P&gt;&lt;P&gt;$(v2) =&amp;nbsp;Max(Date(AddMonths(Date,-12), 'MMM YY')), output: Jun 18.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when i try to create a set analysis with both that conditions, it gets me a error.&lt;/P&gt;&lt;P&gt;Set analysis:&amp;nbsp;Count({&amp;lt; [Date]={"&amp;gt;=$(=v2) &amp;lt;=$(=v1)"} &amp;gt;} [Measure])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-Date-Timestamp/m-p/1586710#M42930</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2024-11-16T05:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-Date-Timestamp/m-p/1586775#M42942</link>
      <description>&lt;P&gt;Try putting the equal sign into your variable definition, like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Max(Date(AddMonths(Date,-6), 'MMM YY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And then &lt;EM&gt;maybe&lt;/EM&gt; remove it from the set analysis, like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt; [Date]={"&amp;gt;=$(v2) &amp;lt;=$(v1)"} &amp;gt;} [Measure])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or your variable may need to be a full date, not MMM YY -- I wonder if Qlik sees the variable as text rather than date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Date(Max(AddMonths(Date,-6)))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 16:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-Date-Timestamp/m-p/1586775#M42942</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2019-05-30T16:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-Date-Timestamp/m-p/1586932#M42957</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Try this expression:&amp;nbsp;&lt;SPAN&gt;Count({&amp;lt; [Date]={"&amp;gt;=$(=&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;$(&lt;/FONT&gt;&lt;/STRONG&gt;v2&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;) &amp;lt;=$(=&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;$(&lt;/FONT&gt;&lt;/STRONG&gt;v1&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;)"} &amp;gt;} [Measure])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cordially.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 22:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-Date-Timestamp/m-p/1586932#M42957</guid>
      <dc:creator>Seyko</dc:creator>
      <dc:date>2019-05-30T22:07:55Z</dc:date>
    </item>
  </channel>
</rss>

