<?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 Compare date fields of same table in set expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Compare-date-fields-of-same-table-in-set-expression/m-p/1811342#M66130</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to compare two dates that are stored in two different fields in the table, for a set expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({&amp;lt;EXEC_DATE_SQL = EXEC_DATE_SQL_MONTHLY&amp;gt;} TOTAL ID_DQ)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXEC_DATE_SQL and EXEC_DATE_SQL_MONTHLY are Dates, the second changes depending on the first in the table.&lt;/P&gt;&lt;P&gt;If I chage the above code by this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({&amp;lt;EXEC_DATE_SQL = {'2021-01-01'}&amp;gt;} TOTAL ID_DQ)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;works fine.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:06:16 GMT</pubDate>
    <dc:creator>Morgoz</dc:creator>
    <dc:date>2024-11-16T00:06:16Z</dc:date>
    <item>
      <title>Compare date fields of same table in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Compare-date-fields-of-same-table-in-set-expression/m-p/1811342#M66130</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to compare two dates that are stored in two different fields in the table, for a set expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({&amp;lt;EXEC_DATE_SQL = EXEC_DATE_SQL_MONTHLY&amp;gt;} TOTAL ID_DQ)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXEC_DATE_SQL and EXEC_DATE_SQL_MONTHLY are Dates, the second changes depending on the first in the table.&lt;/P&gt;&lt;P&gt;If I chage the above code by this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({&amp;lt;EXEC_DATE_SQL = {'2021-01-01'}&amp;gt;} TOTAL ID_DQ)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;works fine.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compare-date-fields-of-same-table-in-set-expression/m-p/1811342#M66130</guid>
      <dc:creator>Morgoz</dc:creator>
      <dc:date>2024-11-16T00:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date fields of same table in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Compare-date-fields-of-same-table-in-set-expression/m-p/1811346#M66131</link>
      <description>&lt;P&gt;In this case, you to need to use an if statement.&lt;/P&gt;&lt;P&gt;Count(Total if(EXEC_DATE_SQL = EXEC_DATE_SQL_MONTHLY,ID_DQ))&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 12:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compare-date-fields-of-same-table-in-set-expression/m-p/1811346#M66131</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-05-28T12:08:36Z</dc:date>
    </item>
  </channel>
</rss>

