<?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: How write data from a column in the variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-write-data-from-a-column-in-the-variable/m-p/764381#M661515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Gysbert!&lt;/P&gt;&lt;P&gt;It's work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 17:50:33 GMT</pubDate>
    <dc:creator>vchuprina</dc:creator>
    <dc:date>2015-02-20T17:50:33Z</dc:date>
    <item>
      <title>How write data from a column in the variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-write-data-from-a-column-in-the-variable/m-p/764379#M661513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some data in column F2 and I want to write this value into variable. &lt;/P&gt;&lt;P&gt;After this I plan use this variable in "if ...else" operator.&lt;/P&gt;&lt;P&gt;Please see part of my script: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD F2 AS Department&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(vFile)]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, header is 2 lines, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD Department Resident Temp;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDep = WildMatch (Department, '1803007','2600831','2900637');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm not mistake, first I need load data from F2 and then use: &lt;/P&gt;&lt;P&gt;WildMatch (Department, '1803007','2600831','2900637');&lt;/P&gt;&lt;P&gt;But this function doesn't return value.&lt;/P&gt;&lt;P&gt;For example, if in file I have '1803007' in F2 column, so WildMatch should return '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How load write from F2 into variable? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 17:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-write-data-from-a-column-in-the-variable/m-p/764379#M661513</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2015-02-20T17:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How write data from a column in the variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-write-data-from-a-column-in-the-variable/m-p/764380#M661514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD F2 AS Department&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[$(vFile)]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, embedded labels, header is 2 lines, table is [Sheet1$]);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;T1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD concat(Department,'|') as DepList Resident Temp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table Temp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vDep = Match (peek('DepList'), '1803007','2600831','2900637');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 17:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-write-data-from-a-column-in-the-variable/m-p/764380#M661514</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-20T17:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: How write data from a column in the variable?</title>
      <link>https://community.qlik.com/t5/QlikView/How-write-data-from-a-column-in-the-variable/m-p/764381#M661515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Gysbert!&lt;/P&gt;&lt;P&gt;It's work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 17:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-write-data-from-a-column-in-the-variable/m-p/764381#M661515</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2015-02-20T17:50:33Z</dc:date>
    </item>
  </channel>
</rss>

