<?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: Let and Peek in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Let-and-Peek/m-p/1549915#M597508</link>
    <description>Ah that was it! I totally forgot about evaluate() function. Thanks Sunny.</description>
    <pubDate>Wed, 27 Feb 2019 14:24:41 GMT</pubDate>
    <dc:creator>afbraga1</dc:creator>
    <dc:date>2019-02-27T14:24:41Z</dc:date>
    <item>
      <title>Let and Peek</title>
      <link>https://community.qlik.com/t5/QlikView/Let-and-Peek/m-p/1549692#M597506</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Got a question concerning Peek and Let statements. I have the code below but it is returning me in the trace&amp;nbsp; this - date(AddYears(YearStart(today()-1),-2),'YYYYMMDD'), when I expected to see a date.&lt;/P&gt;&lt;P&gt;LET v1 = Peek('Date', 'table1');&lt;/P&gt;&lt;P&gt;Trace $(v1);&lt;/P&gt;&lt;P&gt;Currently I have to do it in an extra step, in order&amp;nbsp; to have the date result calculated.&lt;/P&gt;&lt;P&gt;LET v1 = Peek('Date', 'table1');&lt;/P&gt;&lt;P&gt;LET v2 = $(v1);&lt;/P&gt;&lt;P&gt;Trace $(v2);&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;André Braga&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Let-and-Peek/m-p/1549692#M597506</guid>
      <dc:creator>afbraga1</dc:creator>
      <dc:date>2024-11-16T21:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Let and Peek</title>
      <link>https://community.qlik.com/t5/QlikView/Let-and-Peek/m-p/1549912#M597507</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Table:
LOAD * INLINE [
    Date
    "Date(AddYears(YearStart(Today()-1),-2),'YYYYMMDD')"
];

LET v1 = Evaluate(Peek('Date'));

Trace $(v1);&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Feb 2019 14:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Let-and-Peek/m-p/1549912#M597507</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-27T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Let and Peek</title>
      <link>https://community.qlik.com/t5/QlikView/Let-and-Peek/m-p/1549915#M597508</link>
      <description>Ah that was it! I totally forgot about evaluate() function. Thanks Sunny.</description>
      <pubDate>Wed, 27 Feb 2019 14:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Let-and-Peek/m-p/1549915#M597508</guid>
      <dc:creator>afbraga1</dc:creator>
      <dc:date>2019-02-27T14:24:41Z</dc:date>
    </item>
  </channel>
</rss>

