<?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 yesterday using today() in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/yesterday-using-today-in-set-analysis/m-p/183714#M1286390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like a syntax error to me - it shouldn't allow the comma after today(). Assuming that's just a typo when posting, it looks right to me. However, you may need to format the result as a date of the same format as EndDate. So, for instance, if EndDate has a format of 'DD/MM/YY', you may need to use sum({&amp;lt;EndDate={"&amp;gt;=$(=date(today()-1,'DD/MM/YY'))"}&amp;gt;} Sales). Set analysis isn't very good with date comparisons, and needs the formats to match in order to recognize they're the same, unlike an if() statement, for instance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2010 19:05:28 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-01-29T19:05:28Z</dc:date>
    <item>
      <title>yesterday using today() in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/yesterday-using-today-in-set-analysis/m-p/183713#M1286386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am attempting to use today() to get the value of yesterday in set analysis. I am getting a value for the expression below however, I do not believe it is correct. Basically I am attempting to sum sales where EndDate is greater than or equal to yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;EndDate={"&amp;gt;=$(=today(),-1)"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help, or validation would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yesterday-using-today-in-set-analysis/m-p/183713#M1286386</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>yesterday using today() in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/yesterday-using-today-in-set-analysis/m-p/183714#M1286390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like a syntax error to me - it shouldn't allow the comma after today(). Assuming that's just a typo when posting, it looks right to me. However, you may need to format the result as a date of the same format as EndDate. So, for instance, if EndDate has a format of 'DD/MM/YY', you may need to use sum({&amp;lt;EndDate={"&amp;gt;=$(=date(today()-1,'DD/MM/YY'))"}&amp;gt;} Sales). Set analysis isn't very good with date comparisons, and needs the formats to match in order to recognize they're the same, unlike an if() statement, for instance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 19:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yesterday-using-today-in-set-analysis/m-p/183714#M1286390</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-01-29T19:05:28Z</dc:date>
    </item>
  </channel>
</rss>

