<?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 Loading variables through Excel File in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-variables-through-Excel-File/m-p/1263071#M398167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an excel file to store all my variables in the application&lt;/P&gt;&lt;P&gt;But when I am trying to use these variables in my script I am facing some challenges.&lt;/P&gt;&lt;P&gt;I also tried to use $(variablename) but still no success &lt;/P&gt;&lt;P&gt;hereby attaching the excel file and the sample code &lt;/P&gt;&lt;P&gt;I am able to get the definition of these variables in text objects .&lt;/P&gt;&lt;P&gt;What I wish to achieve is using these variables in my script&lt;/P&gt;&lt;P&gt;IF (vCalToday)&amp;gt;=(vRangeDate1) and (vCalToday)&amp;lt;=(vRangeDate2) then&lt;/P&gt;&lt;P&gt;here if I use just &lt;SPAN style="font-size: 13.3333px;"&gt;vCalToday&lt;/SPAN&gt; then it takes as it as literal and if I use $(&lt;SPAN style="font-size: 13.3333px;"&gt;vCalToday&lt;/SPAN&gt;) ,it resolves the definition &lt;/P&gt;&lt;P&gt;but it does not give me a value which I need .&lt;/P&gt;&lt;P&gt;Please help me in getting the same.&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 and Regards,&lt;/P&gt;&lt;P&gt;Nishant Nadkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 14:27:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-24T14:27:18Z</dc:date>
    <item>
      <title>Loading variables through Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-variables-through-Excel-File/m-p/1263071#M398167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an excel file to store all my variables in the application&lt;/P&gt;&lt;P&gt;But when I am trying to use these variables in my script I am facing some challenges.&lt;/P&gt;&lt;P&gt;I also tried to use $(variablename) but still no success &lt;/P&gt;&lt;P&gt;hereby attaching the excel file and the sample code &lt;/P&gt;&lt;P&gt;I am able to get the definition of these variables in text objects .&lt;/P&gt;&lt;P&gt;What I wish to achieve is using these variables in my script&lt;/P&gt;&lt;P&gt;IF (vCalToday)&amp;gt;=(vRangeDate1) and (vCalToday)&amp;lt;=(vRangeDate2) then&lt;/P&gt;&lt;P&gt;here if I use just &lt;SPAN style="font-size: 13.3333px;"&gt;vCalToday&lt;/SPAN&gt; then it takes as it as literal and if I use $(&lt;SPAN style="font-size: 13.3333px;"&gt;vCalToday&lt;/SPAN&gt;) ,it resolves the definition &lt;/P&gt;&lt;P&gt;but it does not give me a value which I need .&lt;/P&gt;&lt;P&gt;Please help me in getting the same.&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 and Regards,&lt;/P&gt;&lt;P&gt;Nishant Nadkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-variables-through-Excel-File/m-p/1263071#M398167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T14:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Loading variables through Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-variables-through-Excel-File/m-p/1263072#M398168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep the excel file and qvw at same place..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application_Variables:&lt;/P&gt;&lt;P&gt;LOAD VariableName, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VariableDefinition&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test_27.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Test);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNoOfVariables = FieldValueCount ('VariableName') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For v = 0 to $(vNoOfVariables)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vName = Peek('VariableName',$(v),'Application_Variables');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let $(vName) = Peek('VariableDefinition',$(v),'Application_Variables');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next v&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Application_Variables;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-variables-through-Excel-File/m-p/1263072#M398168</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-02-24T14:39:47Z</dc:date>
    </item>
  </channel>
</rss>

