<?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: Peek function does not work for me in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225256#M851513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wrap the variable around Time function&lt;/P&gt;&lt;P&gt;Time(&lt;SPAN style="font-size: 12pt;"&gt;$(&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;vMax_Updated_Time&lt;/EM&gt;&lt;/STRONG&gt; ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;LET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;vMax_Updated_Time&lt;/EM&gt;&lt;/STRONG&gt; =&lt;/SPAN&gt;Time(P&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;eek&lt;/SPAN&gt;('Max_Upd_Time', 0, 'Dim_Office_Updated_Date'));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;hth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sasi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 10:21:55 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2017-03-03T10:21:55Z</dc:date>
    <item>
      <title>Peek function does not work for me</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225255#M851510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; I am using the below code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;[Dim_Office_Updated_Date]:&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;load&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;floor&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;"UPD_TS"&lt;/SPAN&gt;)), 'DD/MM/YYYY') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;"Max_Upd_Time"&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;from&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vExtractPathName)&lt;/EM&gt;&lt;/STRONG&gt;\Dim_Office.qvd(&lt;SPAN style="color: #0000ff;"&gt;qvd&lt;/SPAN&gt;);&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vMax_Updated_Time&lt;/EM&gt;&lt;/STRONG&gt; = &lt;SPAN style="color: #0000ff;"&gt;peek&lt;/SPAN&gt;('Max_Upd_Time', 0, 'Dim_Office_Updated_Date'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;and get this value when I use the following variable in a text object:&amp;nbsp;&amp;nbsp;&amp;nbsp; =$(&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vMax_Updated_Time&lt;/EM&gt;&lt;/STRONG&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;0.0024789291026277&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;But if I use the column&amp;nbsp; '&lt;SPAN style="color: #800000;"&gt;Max_Upd_Time&lt;/SPAN&gt;' in a list box it gives me correct result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Please suggest what to do now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sandip&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225255#M851510</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function does not work for me</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225256#M851513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wrap the variable around Time function&lt;/P&gt;&lt;P&gt;Time(&lt;SPAN style="font-size: 12pt;"&gt;$(&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;vMax_Updated_Time&lt;/EM&gt;&lt;/STRONG&gt; ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;LET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;vMax_Updated_Time&lt;/EM&gt;&lt;/STRONG&gt; =&lt;/SPAN&gt;Time(P&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;eek&lt;/SPAN&gt;('Max_Upd_Time', 0, 'Dim_Office_Updated_Date'));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;hth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sasi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 10:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225256#M851513</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-03-03T10:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function does not work for me</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225257#M851516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within a textbox use just: &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;vMax_Updated_Time&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;. The cause for your result are the '/' within your date-format which will divide your numbers against eachother within a $-sign expansion like for today:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;03 / 03 / 2017 = 0.0005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think it would be better to remove the formatting by creating this field and variable and later if you call this variable you could add your needed format again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 11:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225257#M851516</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-03T11:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Peek function does not work for me</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225258#M851519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said by Marcus, use formatting in function like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;Date(P&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;eek&lt;/SPAN&gt;('Max_Upd_Time', 0, 'Dim_Office_Updated_Date'),'DD/MM/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if still it does not work try to change default date formatting, which will be present in first tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anvesh &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 11:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-function-does-not-work-for-me/m-p/1225258#M851519</guid>
      <dc:creator>Anvesh</dc:creator>
      <dc:date>2017-03-03T11:54:12Z</dc:date>
    </item>
  </channel>
</rss>

