<?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 Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables/m-p/322802#M118903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; can come again in brief?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2011 06:16:27 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2011-11-16T06:16:27Z</dc:date>
    <item>
      <title>Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/322801#M118902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Variable any idea to store Tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 06:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/322801#M118902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-16T06:02:29Z</dc:date>
    </item>
    <item>
      <title>Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/322802#M118903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; can come again in brief?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 06:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/322802#M118903</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-16T06:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/322803#M118904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set Variable =&amp;nbsp; select * from Employee like wise&lt;/P&gt;&lt;P&gt;let Variable =&amp;nbsp; Variable + select * from Employee like wise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 06:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/322803#M118904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-16T06:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/322804#M118905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT EmployeeName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM Employee&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE EmployeeID = 12345&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LET Variable = peek('EmployeeName')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 01:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/322804#M118905</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-17T01:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/322805#M118906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi john, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to stroe all columns in one Variable.is it possible...Variable is like a function in sqlserver right..in sqlserver we write&amp;nbsp; three type of function ..Tabled Value Function it returns Tables,Scalar Value Function it Returns Values&amp;nbsp; and Aggregate functions&amp;nbsp; it Return Grouped Value.....but in qlikview we write only Scalar Value Function...Variable Returns Values Only..is Any way to return Tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT EmployeeName,&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;EmployeeID,Salary,Department&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM Employee&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LET Variable = peek('EmployeeName','&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;EmployeeID','Salary','Department');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;is it Correct?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 11:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/322805#M118906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-17T11:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/322806#M118907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A variable isn't a function.&amp;nbsp; It's just a place to store a value.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LET Variable = peek('EmployeeName') &amp;amp; ',' &amp;amp; peek('EmployeeID') &amp;amp; ...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That just gives you one row, though.&amp;nbsp; All columns, one row.&amp;nbsp; All columns, all rows, comma delimited would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD concat(EmployeeName &amp;amp; ',' &amp;amp; EmployeeID &amp;amp; ...,'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;') as AllMyData; // is is important that this is on a separate line - it's how you get separate lines in your data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT EmployeeName,EmployeeID,...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM Employee&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LET Variable = peek('AllMyData');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have any idea why you'd do something like that, but you could.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 00:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/322806#M118907</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-18T00:38:00Z</dc:date>
    </item>
  </channel>
</rss>

