<?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: Different ways to declare variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004358#M952409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/91130"&gt;Creating variables in qlikview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2015 08:21:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-30T08:21:57Z</dc:date>
    <item>
      <title>Different ways to declare variable</title>
      <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004356#M952407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can any one explain me regarding different ways to declare a variable with an example...how to create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Reddi Kishor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 06:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004356#M952407</guid>
      <dc:creator />
      <dc:date>2015-11-30T06:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Different ways to declare variable</title>
      <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004357#M952408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/91130"&gt;Creating variables in qlikview&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 08:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004357#M952408</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2015-11-30T08:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Different ways to declare variable</title>
      <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004358#M952409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/91130"&gt;Creating variables in qlikview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 08:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004358#M952409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-30T08:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Different ways to declare variable</title>
      <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004359#M952410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this one as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/variables-in-qlikview/" title="http://www.learnallbi.com/variables-in-qlikview/"&gt;Variables in QlikView | Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 08:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004359#M952410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-30T08:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Different ways to declare variable</title>
      <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004360#M952411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kishor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are the ways you can declare variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Using Settings &amp;gt;&amp;gt; Variables Overview &amp;gt;&amp;gt;Add&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign a value to the variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use keywords LET and SET in the coding window&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let C= 1+2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Treat as string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET C = 1+2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Evaluate after = sign(numeric)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 08:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004360#M952411</guid>
      <dc:creator />
      <dc:date>2015-11-30T08:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Different ways to declare variable</title>
      <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004361#M952412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Reddi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listed below are the ways through which you can create variables,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Using LET&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; Using SET&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; Through Variable Overview&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; Loading variables and values using For Loop in edit script such as given below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tmp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; VariableName, &lt;/P&gt;&lt;P&gt;&amp;nbsp; VariableValue&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; sales.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNoRows = noofrows('tmp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For I = 0 to $(vNoRows) - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vVarName = peek('VariableName', $(I), '&lt;SPAN style="font-size: 13.3333px;"&gt;tmp&lt;/SPAN&gt;');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vVarValu = peek('VariableValue', $(I), '&lt;SPAN style="font-size: 13.3333px;"&gt;tmp&lt;/SPAN&gt;');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set $(vVarName) = "$(vVarValu)";&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 10:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004361#M952412</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2015-11-30T10:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Different ways to declare variable</title>
      <link>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004362#M952413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This blog link is also helpful to understand basics and usage scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.analyticsvidhya.com/blog/2015/06/variables-qlikview-data-stories/" title="http://www.analyticsvidhya.com/blog/2015/06/variables-qlikview-data-stories/"&gt;http://www.analyticsvidhya.com/blog/2015/06/variables-qlikview-data-stories/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Rahul Thakkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 10:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-ways-to-declare-variable/m-p/1004362#M952413</guid>
      <dc:creator>thakkarrahul01</dc:creator>
      <dc:date>2015-11-30T10:29:48Z</dc:date>
    </item>
  </channel>
</rss>

