<?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 Values for last date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305477#M495614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check, that your DATUM values are integer values, too, e.g. by creating a list box with field DATUM and an additional expression num(DATUM). Should only show integer values like 40933.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check that your DATUM field values use also the standard date format, which is used in formatting Date(today(1)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check that your DATUM field has a value for today..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, try enclosing your variable values in single quotes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; {'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vYesterday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; '&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 14:02:28 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-01-25T14:02:28Z</dc:date>
    <item>
      <title>Values for last date</title>
      <link>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305474#M495611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I am trying to select some totals, but only for yesterday.&lt;/DIV&gt;&lt;DIV&gt;However my formula doesn't work (and I realise that the first two values are redundant.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Please help! Thanks in advance,&lt;/DIV&gt;&lt;DIV&gt;Wouter&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;sum&lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Periodenummer&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vPeriod)&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(Date(vYesterday))&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AANTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; My yesterday variabele is set by this line:&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;LET&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vYesterday&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Now&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())-1; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 13:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305474#M495611</guid>
      <dc:creator />
      <dc:date>2012-01-25T13:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Values for last date</title>
      <link>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305475#M495612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wouter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now() will return a Timestamp with decimal places, while I assume your DATUM values are integer values in numerical representation. Consider using Today() instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, do the Date formatting also in your variable definition:&lt;/P&gt;&lt;P&gt;LET vYesterday = Date(Today(1)-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus your DATUM set element modifier looks like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vYesterday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 13:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305475#M495612</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-25T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Values for last date</title>
      <link>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305476#M495613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Swuehl,&lt;/P&gt;&lt;P&gt;thank you, I didn't know the difference between Now() and Today().&lt;/P&gt;&lt;P&gt;I have changed the formula's, but without success.&amp;nbsp;&amp;nbsp; Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 13:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305476#M495613</guid>
      <dc:creator />
      <dc:date>2012-01-25T13:51:02Z</dc:date>
    </item>
    <item>
      <title>Values for last date</title>
      <link>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305477#M495614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check, that your DATUM values are integer values, too, e.g. by creating a list box with field DATUM and an additional expression num(DATUM). Should only show integer values like 40933.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check that your DATUM field values use also the standard date format, which is used in formatting Date(today(1)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check that your DATUM field has a value for today..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, try enclosing your variable values in single quotes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; {'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vYesterday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; '&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 14:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-for-last-date/m-p/305477#M495614</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-25T14:02:28Z</dc:date>
    </item>
  </channel>
</rss>

