<?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: num(date) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690753#M671502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I understood your question correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have a table with one and you want the content of this row assigned to a variable&lt;/P&gt;&lt;P&gt;in qlikview there is only one way to to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you must assign the content of a table using peek, even if there is only one row in it&lt;/P&gt;&lt;P&gt;so by default, peek, takes the last row (which in your case is okay)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so using Let Vchk = num('minDate') does not know what to assign and therefor returns null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I could clarify it a little bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 13:01:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-02T13:01:18Z</dc:date>
    <item>
      <title>num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690751#M671500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style=": ; color: #993366; font-family: courier new,courier;"&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;LOAD EMPNO,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENAME,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JOB,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MGR,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIREDATE,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; max(HIREDATE) as maxDate,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMM,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEPTNO,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "DATE_UPDATED";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;FROM SCOTT.EMP;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;Mindate:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;load&amp;nbsp;&amp;nbsp;&amp;nbsp; min(date(HIREDATE,'DD-MMM-YYYY')) as minDate, max(date(HIREDATE,'DD-MMM-YYYY')) as maxDate&amp;nbsp; Resident Data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;LET vMinDate = num(Peek('minDate'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;LET vMaxDate = num(Peek('maxDate'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;//Let Vchk = num(peek('maxDate'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #00ff00;"&gt;&lt;STRONG style=": ; color: #993366;"&gt;Let Vchk = num('maxDate');&lt;/STRONG&gt;&lt;/SPAN&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;I have mindate and maxdate from a table, i need to convert them to a number using num() function in qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i observe that &lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;vMinDate and &lt;SPAN style="font-family: courier new,courier; color: #993366;"&gt;&lt;STRONG&gt;vMaxDate &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif;"&gt;are working fine while&lt;STRONG&gt; they use peek() before num()&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;and &lt;SPAN style="color: #993366; font-family: courier new,courier;"&gt;Vchk, &lt;/SPAN&gt;if i&amp;nbsp; use num() without peek() , &lt;/STRONG&gt;the variable&lt;STRONG&gt; doesn't &lt;/STRONG&gt;show any value&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif;"&gt;I dont understand what the logic behind this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif;"&gt;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 12:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690751#M671500</guid>
      <dc:creator />
      <dc:date>2014-09-02T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690752#M671501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fields &lt;SPAN style="font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG&gt;MinDate &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color: #993366; font-style: inherit; font-family: 'courier new', courier; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;MaxDate &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;are in the table &lt;SPAN style="font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG&gt;Mindate&lt;/STRONG&gt;&lt;/SPAN&gt; you created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence you need an Inter Record Function such as Peek() to read the data in a script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 12:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690752#M671501</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-02T12:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690753#M671502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I understood your question correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have a table with one and you want the content of this row assigned to a variable&lt;/P&gt;&lt;P&gt;in qlikview there is only one way to to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you must assign the content of a table using peek, even if there is only one row in it&lt;/P&gt;&lt;P&gt;so by default, peek, takes the last row (which in your case is okay)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so using Let Vchk = num('minDate') does not know what to assign and therefor returns null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I could clarify it a little bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690753#M671502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-02T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690754#M671503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD EMPNO,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENAME,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JOB,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MGR,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIREDATE,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em; color: #993366; font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt; &lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; color: #993366; font-style: inherit; font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMM,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEPTNO,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "DATE_UPDATED";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FROM SCOTT.EMP;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier; color: #993366;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Min(HIREDATE) as MinDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(HIREDATE) as MaxDate&lt;/P&gt;&lt;P&gt;Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMinDate = NUM(PEEK('MinDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;Let vMaxDate = NUM(PEEK('MaxDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690754#M671503</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T13:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690755#M671504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thanks BILL/RUDOLF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can use peek() and previous() for the table, when case is we are loading data from RAM i.e. resident load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any another approach, or function that we can use instead of peek/previous.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690755#M671504</guid>
      <dc:creator />
      <dc:date>2014-09-02T13:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690756#M671505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't have idea except these two functions.... Peek and Previous &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690756#M671505</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T13:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690757#M671506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rudolf ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u specify in your answer that .. here is only one way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690757#M671506</guid>
      <dc:creator />
      <dc:date>2014-09-02T13:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690758#M671507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Gurjeet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peek() &amp;amp; Previous() were designed specifically for usage like this and are easy to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may or may not be another way to do the same, but why try and do it the hard way instead of the easy way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690758#M671507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-02T13:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690759#M671508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, you can use peek only with resident table&lt;/P&gt;&lt;P&gt;and no there is no other possibility to get the same result if you have to use variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another approach would be to use the fields instead of variables. but that depends on your application&lt;/P&gt;&lt;P&gt;and might not be a solution in your case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690759#M671508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-02T13:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: num(date)</title>
      <link>https://community.qlik.com/t5/QlikView/num-date/m-p/690760#M671509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;min(HIREDATE) "minDate", &lt;/P&gt;&lt;P&gt;max(HIREDATE) "maxDate"&lt;/P&gt;&lt;P&gt;FROM SCOTT.EMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// peek to get the value from field minDate and maxDate&lt;/P&gt;&lt;P&gt;Let vMinDate = num(Peek('minDate'));&lt;/P&gt;&lt;P&gt;Let vMaxDate = num(Peek('maxDate'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-date/m-p/690760#M671509</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-02T13:16:03Z</dc:date>
    </item>
  </channel>
</rss>

