<?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: Compare values between dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745483#M1041038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Check if date format of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;datelog matches with result of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(today()-1).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If not matching then add format explicitly in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(today()-1,'DD/MM/YYY')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2014 14:08:55 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-12-16T14:08:55Z</dc:date>
    <item>
      <title>Compare values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745481#M1041036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to compare values between two dates (for example today and yesterday)&lt;/P&gt;&lt;P&gt;I have a field called 'datelog' and I want to count something in my datas (when the field 'erreurs' is 1) for yesterday for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following set analysis :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=count({&amp;lt;erreur={'1'}, datelog={'$(=Date(today()-1))'}&amp;gt;} erreur)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it still returning "0"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis for counting is OK and returns the good results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=count({&amp;lt;erreur={'1'}&amp;gt;} erreur&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745481#M1041036</guid>
      <dc:creator />
      <dc:date>2014-12-16T14:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745482#M1041037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if datelog field and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(today()-1)) have the same date format ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745482#M1041037</guid>
      <dc:creator>yduval75</dc:creator>
      <dc:date>2014-12-16T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745483#M1041038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Check if date format of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;datelog matches with result of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(today()-1).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If not matching then add format explicitly in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(today()-1,'DD/MM/YYY')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745483#M1041038</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-16T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745484#M1041039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or, in your set analysis, where you have "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(today()-1)", replace it with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;makedate(year(today()-1),month(today()-1),day(today()-1)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dates and set analysis are a pain in the ... .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745484#M1041039</guid>
      <dc:creator />
      <dc:date>2014-12-16T14:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745485#M1041040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys.. thanks for all...&lt;/P&gt;&lt;P&gt;datelog was MM/DD/YYYY as the overall date format for my document was DD/MM/YYYY (and thus for the Date function)..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 15:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745485#M1041040</guid>
      <dc:creator />
      <dc:date>2014-12-16T15:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745486#M1041041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, can you close your question awith an answer as correct ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 15:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-dates/m-p/745486#M1041041</guid>
      <dc:creator>yduval75</dc:creator>
      <dc:date>2014-12-16T15:03:55Z</dc:date>
    </item>
  </channel>
</rss>

