<?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 Loading string value to a variable from table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380545#M810765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to know how to store a field value i.e string in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: &lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;id,name&lt;/P&gt;&lt;P&gt;1,aaa&lt;/P&gt;&lt;P&gt;2,bbb&lt;/P&gt;&lt;P&gt;3,ccc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to load the filed values into a variable??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried peek function let vname = peek('name',0,'table')&lt;/P&gt;&lt;P&gt;but I didn't get any answer&lt;/P&gt;&lt;P&gt;If I keep id field instead of name I got result for id.&lt;/P&gt;&lt;P&gt;Please give the solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380545#M810765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to know how to store a field value i.e string in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: &lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;id,name&lt;/P&gt;&lt;P&gt;1,aaa&lt;/P&gt;&lt;P&gt;2,bbb&lt;/P&gt;&lt;P&gt;3,ccc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to load the filed values into a variable??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried peek function let vname = peek('name',0,'table')&lt;/P&gt;&lt;P&gt;but I didn't get any answer&lt;/P&gt;&lt;P&gt;If I keep id field instead of name I got result for id.&lt;/P&gt;&lt;P&gt;Please give the solution for this.&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/Loading-string-value-to-a-variable-from-table/m-p/1380545#M810765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380546#M810766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand , you want to load the filed values into variable ...try this in front end &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vname &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=concat( distinct &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;name&lt;/SPAN&gt;, ';' )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 11:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380546#M810766</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-10-04T11:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380547#M810767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mallika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let vname = peek(name,0,'table');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(without enclosing name in single quotes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 11:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380547#M810767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T11:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380548#M810768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try this .but not getting answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 12:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380548#M810768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T12:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380549#M810769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use single quotes in the field name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vname = peek('name',0,'table');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should work as long as table exists and has a field called name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post your script log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380549#M810769</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-10-04T13:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380550#M810770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This &lt;/P&gt;&lt;P&gt;=GetCurrentSelections(name )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380550#M810770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T13:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380551#M810771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mallika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use FirstSorted Value Function....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vName = Firstsortedvalue(Name,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jayshri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380551#M810771</guid>
      <dc:creator>jayshrinipurte</dc:creator>
      <dc:date>2017-10-04T13:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380552#M810772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you want to achieve? If you can tell us your exact requirement, we can suggest some other ways &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380552#M810772</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-10-04T13:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380553#M810773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its work fine&lt;/P&gt;&lt;P&gt;set vname=SubField(name,',');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sahadev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 05:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380553#M810773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-05T05:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Loading string value to a variable from table</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380554#M810774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes I got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-string-value-to-a-variable-from-table/m-p/1380554#M810774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-23T09:52:00Z</dc:date>
    </item>
  </channel>
</rss>

