<?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: Using the function peek in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971801#M967401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't get confused with some additional code just for demonstration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I see correct what needs to be changed according to Maxgro's sample, you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use LET statement in variable definition&lt;/P&gt;&lt;P&gt;2) Remove the [..] from field name literal&lt;/P&gt;&lt;P&gt;3) Use 2 instead 3 as row indicator (QV starts counting rows from 0 in peek() function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 10pt; font-family: inherit; color: #808080;"&gt;varParticipacao&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;('&lt;STRONG&gt;[&lt;/STRONG&gt;% de Participação&lt;STRONG&gt;]&lt;/STRONG&gt;', 3, 'TreinamentosSP');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; 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: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Maxgro's:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt; varParticipacao = peek('% de Participação', &lt;STRONG&gt;2&lt;/STRONG&gt;, 'TreinamentosSP');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in script debugger or using TRACE statement as shown above that the variable then contains the correct result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2015 15:32:04 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-10-01T15:32:04Z</dc:date>
    <item>
      <title>Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971795#M967394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new on QlikView and i´m trying to peek the 3rd value from a field using the function peek.&lt;/P&gt;&lt;P&gt;Below is the field that i am trying to peek the 3rd value:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="peek.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100528_peek.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The name of the table is 'TreinamentosSP', sou i did that in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;varParticipacao&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('[% de Participação]', 3, 'TreinamentosSP');&lt;BR /&gt;Participacao:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(varParticipacao)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Participacao&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; TreinamentosSP; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When i run the script, i receive error msg from QlikView.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Somebody can help me to understand what it is wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Rodrigo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971795#M967394</guid>
      <dc:creator />
      <dc:date>2015-09-30T15:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971796#M967396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;TreinamentosSP:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;% de Participação&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;427&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;341&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;80&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let varParticipacao = peek('% de Participação', 2, 'TreinamentosSP');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;trace varParticipacao=$(varParticipacao);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Participacao:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate LOAD $(varParticipacao) as Participacao&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident TreinamentosSP;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 21:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971796#M967396</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-30T21:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971797#M967397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi maxgro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did what you suggested, but i received the following QlikView error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Sintax error, clause FROM missing or in the wrong position:&lt;/P&gt;&lt;P&gt;Participacao: NoConcatenate LOAD&amp;nbsp;&amp;nbsp; as Participacao&lt;/P&gt;&lt;P&gt;Residente TreinamentosSP"&lt;/P&gt;&lt;P&gt;Do you know why i am recieving this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify, the value i need capture from the field '% de Participação' is dynamic, so i can´t create the table 'TreinamentosSP', with the fixed values 427, 341, 80, because they will change constantlty.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rodrigo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 12:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971797#M967397</guid>
      <dc:creator />
      <dc:date>2015-10-01T12:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971798#M967398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did an inline load because I don't have your data&lt;/P&gt;&lt;P&gt;I suppose in your script you have a load of &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TreinamentosSP &lt;/EM&gt;in place of my inline load&lt;/P&gt;&lt;P&gt;Could you post your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971798#M967398</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-01T15:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971799#M967399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;I think you don't need &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; TreinamentosSP;' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; 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-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You have read one value from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;TreinamentosSP &lt;/SPAN&gt;and assigned that value in variable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;now you are creating new field from this variable and and creating new table, why do you need table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;TreinamentosSP while creating new table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; 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-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;May be I am missing something. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971799#M967399</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-10-01T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971800#M967400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Autogenerate(1) will do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971800#M967400</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-10-01T15:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971801#M967401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't get confused with some additional code just for demonstration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I see correct what needs to be changed according to Maxgro's sample, you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use LET statement in variable definition&lt;/P&gt;&lt;P&gt;2) Remove the [..] from field name literal&lt;/P&gt;&lt;P&gt;3) Use 2 instead 3 as row indicator (QV starts counting rows from 0 in peek() function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 10pt; font-family: inherit; color: #808080;"&gt;varParticipacao&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;('&lt;STRONG&gt;[&lt;/STRONG&gt;% de Participação&lt;STRONG&gt;]&lt;/STRONG&gt;', 3, 'TreinamentosSP');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; 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: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Maxgro's:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt; varParticipacao = peek('% de Participação', &lt;STRONG&gt;2&lt;/STRONG&gt;, 'TreinamentosSP');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in script debugger or using TRACE statement as shown above that the variable then contains the correct result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971801#M967401</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-01T15:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971802#M967402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try enclosing your variable with single quotes in the load - such as what is shown below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 10pt; font-family: inherit; color: #808080;"&gt;varParticipacao&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;('[% de Participação]', 3, 'TreinamentosSP');&lt;BR /&gt;Participacao:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; '&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 10pt; font-family: inherit; color: #808080;"&gt;$(varParticipacao)'&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Participacao&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; TreinamentosSP;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; 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: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What error are you getting when the script is executed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; 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: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Camile&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971802#M967402</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2015-10-01T15:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971803#M967403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I don't see a "let" statement when you are setting your variable value. Is that included?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 10pt; font-family: inherit; color: #808080;"&gt;LET varParticipacao&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;('% de Participação', 3, 'TreinamentosSP');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971803#M967403</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2015-10-01T15:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971804#M967404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Camile,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use single quotes in the load, the variable value returns empty (blank).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LET&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;varParticipacao&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('[% de Participação]', 2, 'TreinamentosSP');&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;TRACE&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; varParticipacao=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(varParticipacao)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Participacao:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(varParticipacao)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Participacao&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; TreinamentosSP;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;While running the script, QlikView displays the error message below:&lt;/P&gt;&lt;P&gt;"Sintax error, clause FROM missing or in the wrong position:&lt;/P&gt;&lt;P&gt;Participacao: NoConcatenate LOAD&amp;nbsp;&amp;nbsp; as Participacao&lt;/P&gt;&lt;P&gt;Residente TreinamentosSP"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 18:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971804#M967404</guid>
      <dc:creator />
      <dc:date>2015-10-01T18:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using the function peek</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971805#M967405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i removed the [..] from the field name literal, the script finish with no errors, otherwise it returne "####" in the variable result, as you can see below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-01_15-28-22.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100694_2015-10-01_15-28-22.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-01_15-30-01.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/100695_2015-10-01_15-30-01.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I think it is a problem with the number format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 18:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-function-peek/m-p/971805#M967405</guid>
      <dc:creator />
      <dc:date>2015-10-01T18:30:36Z</dc:date>
    </item>
  </channel>
</rss>

