<?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 to create a variable? in how many ways it is possible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556675#M207806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the Below Script&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; item, rate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; coe, 0.23&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cog, 0.50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Resident A ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vrate=Peek('rate',-1,'A');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here by default in edit script there is some variable with predefined save using Set command &lt;/P&gt;&lt;P&gt;you can see all the global variables under setting --&amp;gt;User Prefrence---&amp;gt;general&lt;/P&gt;&lt;P&gt;check on show system variable&lt;/P&gt;&lt;P&gt;ok&amp;nbsp; and see the all variables &lt;/P&gt;&lt;P&gt;in Script side use set and let variable&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;set vDate= 10-10-2013 ;&lt;/P&gt;&lt;P&gt;let sum = 4+ 5 ;&lt;/P&gt;&lt;P&gt;reload it &lt;/P&gt;&lt;P&gt;and in sheet object side&lt;/P&gt;&lt;P&gt;take text object &lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;=vDate&lt;/P&gt;&lt;P&gt;then it gives Date because it works like string stateent&lt;/P&gt;&lt;P&gt;if write&lt;/P&gt;&lt;P&gt;=sum then it evaluate the answer is 9 in let statement on script side&lt;/P&gt;&lt;P&gt;but on dashboard side &lt;/P&gt;&lt;P&gt;you also make variable&lt;/P&gt;&lt;P&gt;press ctrl+alt+v&lt;/P&gt;&lt;P&gt;add variable&lt;/P&gt;&lt;P&gt;new&lt;/P&gt;&lt;P&gt;below write 4+5&lt;/P&gt;&lt;P&gt;then ok&lt;/P&gt;&lt;P&gt;in text object when write =new then it gives 4+5 works as a string &lt;/P&gt;&lt;P&gt;if again makes variable&lt;/P&gt;&lt;P&gt;new1&lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;=4+5 &lt;/P&gt;&lt;P&gt;use it in text obj&lt;/P&gt;&lt;P&gt;write &lt;/P&gt;&lt;P&gt;=new1&lt;/P&gt;&lt;P&gt;then gives 9 works as let statement&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 05:56:11 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2013-11-21T05:56:11Z</dc:date>
    <item>
      <title>how to create a variable? in how many ways it is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556671#M207802</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 am new to qlikview. ans me please..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;khadeer&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 05:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556671#M207802</guid>
      <dc:creator />
      <dc:date>2013-11-21T05:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a variable? in how many ways it is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556672#M207803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are many ways to create Variable, in script and in front end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) you can create it in script, Like Let a = 10. a is a variable having value 10.&lt;/P&gt;&lt;P&gt;2) you can create in document properties, sheet properties, there you will see variables , just click create new variable and give it a name.. and you can also create while creating new Calendar, Slider, if you right click on sheet&amp;gt;&amp;gt; and go to new object&amp;gt;&amp;gt; select Calendar/Slider. Here you will see new variable button as well..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 05:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556672#M207803</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-11-21T05:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a variable? in how many ways it is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556673#M207804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khadeer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this Attachement you will get the clear whole idea of What Variable is and How to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravikant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 05:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556673#M207804</guid>
      <dc:creator />
      <dc:date>2013-11-21T05:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a variable? in how many ways it is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556674#M207805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In scripting level 2 types.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET and SET&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET:&lt;/STRONG&gt;&amp;nbsp; adding the string value to a variable&lt;/P&gt;&lt;P&gt;SET vResult='2+5'&lt;/P&gt;&lt;P&gt;returns 2+5&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEt: &lt;/STRONG&gt;adding the expression result to a variable.&lt;/P&gt;&lt;P&gt;LET vResult=2+3&lt;/P&gt;&lt;P&gt;returns 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 05:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556674#M207805</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2013-11-21T05:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a variable? in how many ways it is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556675#M207806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the Below Script&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; item, rate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; coe, 0.23&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cog, 0.50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Resident A ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vrate=Peek('rate',-1,'A');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here by default in edit script there is some variable with predefined save using Set command &lt;/P&gt;&lt;P&gt;you can see all the global variables under setting --&amp;gt;User Prefrence---&amp;gt;general&lt;/P&gt;&lt;P&gt;check on show system variable&lt;/P&gt;&lt;P&gt;ok&amp;nbsp; and see the all variables &lt;/P&gt;&lt;P&gt;in Script side use set and let variable&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;set vDate= 10-10-2013 ;&lt;/P&gt;&lt;P&gt;let sum = 4+ 5 ;&lt;/P&gt;&lt;P&gt;reload it &lt;/P&gt;&lt;P&gt;and in sheet object side&lt;/P&gt;&lt;P&gt;take text object &lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;=vDate&lt;/P&gt;&lt;P&gt;then it gives Date because it works like string stateent&lt;/P&gt;&lt;P&gt;if write&lt;/P&gt;&lt;P&gt;=sum then it evaluate the answer is 9 in let statement on script side&lt;/P&gt;&lt;P&gt;but on dashboard side &lt;/P&gt;&lt;P&gt;you also make variable&lt;/P&gt;&lt;P&gt;press ctrl+alt+v&lt;/P&gt;&lt;P&gt;add variable&lt;/P&gt;&lt;P&gt;new&lt;/P&gt;&lt;P&gt;below write 4+5&lt;/P&gt;&lt;P&gt;then ok&lt;/P&gt;&lt;P&gt;in text object when write =new then it gives 4+5 works as a string &lt;/P&gt;&lt;P&gt;if again makes variable&lt;/P&gt;&lt;P&gt;new1&lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;=4+5 &lt;/P&gt;&lt;P&gt;use it in text obj&lt;/P&gt;&lt;P&gt;write &lt;/P&gt;&lt;P&gt;=new1&lt;/P&gt;&lt;P&gt;then gives 9 works as let statement&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 05:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556675#M207806</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-11-21T05:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a variable? in how many ways it is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556676#M207807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tried to download attachment at many times,it is not opening file, can you please send me the pdf again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Khadeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Dec 2013 02:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556676#M207807</guid>
      <dc:creator />
      <dc:date>2013-12-01T02:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: how to create a variable? in how many ways it is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556677#M207808</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;&lt;/P&gt;&lt;P&gt;check if it opens,&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;Ravikant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 05:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-variable-in-how-many-ways-it-is-possible/m-p/556677#M207808</guid>
      <dc:creator />
      <dc:date>2013-12-02T05:44:44Z</dc:date>
    </item>
  </channel>
</rss>

