<?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 How to use a table field as a variable ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221242#M74069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need to know if this is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you write the load statement, can I add a where clause to assign a particular value to a variable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;SET X= Load FieldValue resident tablename where Fieldvalue='Y';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Feb 2011 07:47:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-18T07:47:38Z</dc:date>
    <item>
      <title>How to use a table field as a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221242#M74069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need to know if this is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you write the load statement, can I add a where clause to assign a particular value to a variable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;SET X= Load FieldValue resident tablename where Fieldvalue='Y';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 07:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221242#M74069</guid>
      <dc:creator />
      <dc:date>2011-02-18T07:47:38Z</dc:date>
    </item>
    <item>
      <title>How to use a table field as a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221243#M74070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Chinmay,&lt;/P&gt;&lt;P&gt;You can use it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load fieldValue from table where Fieldvaleu= 'Y';&lt;/P&gt;&lt;P&gt;let vtest = peek('Fieldvalue',0,'tablename');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 07:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221243#M74070</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-02-18T07:52:02Z</dc:date>
    </item>
    <item>
      <title>How to use a table field as a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221244#M74071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you need something else, otherwise what you wrote is equivalent to&lt;/P&gt;&lt;P&gt;Set X='Y'; if you already know the value then, why not this ? if you are in a different situation, please explain a bi t.&lt;/P&gt;&lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 07:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221244#M74071</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2011-02-18T07:54:56Z</dc:date>
    </item>
    <item>
      <title>How to use a table field as a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221245#M74072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 09:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221245#M74072</guid>
      <dc:creator />
      <dc:date>2011-02-18T09:20:47Z</dc:date>
    </item>
    <item>
      <title>How to use a table field as a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221246#M74073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this working and was trying to use this variable in the where clause but not able to do.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Statement;&lt;/P&gt;&lt;P&gt;let vtest = peek('Fieldvalue',0,'tablename');&lt;/P&gt;&lt;P&gt;Load Statement where Column=$(vtest);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 07:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-field-as-a-variable/m-p/221246#M74073</guid>
      <dc:creator />
      <dc:date>2011-02-22T07:11:58Z</dc:date>
    </item>
  </channel>
</rss>

