<?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: Create Variable Names and Variable Values from Excel File in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121948#M91352</link>
    <description>&lt;P&gt;Thanks! That worked for me!&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2023 12:14:14 GMT</pubDate>
    <dc:creator>HartbargerL</dc:creator>
    <dc:date>2023-09-25T12:14:14Z</dc:date>
    <item>
      <title>Create Variable Names and Variable Values from Excel File</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121538#M91318</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create variables using the&amp;nbsp; values in an excel file:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Table:&lt;BR /&gt;LOAD&lt;BR /&gt;"Variable Name",&lt;BR /&gt;"Variable Value",&lt;BR /&gt;"Variable Definition"&lt;BR /&gt;FROM my_excel_file.xlsx;&lt;/P&gt;
&lt;P&gt;let vName = peek([Variable Name], 2);&lt;/P&gt;
&lt;P&gt;Trace test: $(vName);&lt;/P&gt;
&lt;P&gt;My trace function is returning test:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the variable is not being created.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 21:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121538#M91318</guid>
      <dc:creator>HartbargerL</dc:creator>
      <dc:date>2023-09-22T21:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Variable Names and Variable Values from Excel File</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121560#M91321</link>
      <description>&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;Let vNoOfVariables = FieldValueCount ('VariableName') ;&lt;/P&gt;
&lt;P&gt;For v = 0 to $(vNoOfVariables)-1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let vName = Peek('VariableName',$(v),'Application_Variables');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Let $(vName) = Peek('VariableDefinition',$(v),'Application_Variables');&lt;/P&gt;
&lt;P&gt;Next v&lt;/P&gt;
&lt;P&gt;Drop Table Application_Variables;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Sep 2023 05:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121560#M91321</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2023-09-23T05:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create Variable Names and Variable Values from Excel File</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121734#M91340</link>
      <description>&lt;P&gt;Good solution. But I'll point out that if there happened to be duplicate VariableNames, this would be a subtle bug,&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Let vNoOfVariables = FieldValueCount ('VariableName') ;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Better to use&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Let vNoOfVariables = NoOfRows ('Application_Variables') ;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2023 20:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121734#M91340</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-09-24T20:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create Variable Names and Variable Values from Excel File</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121948#M91352</link>
      <description>&lt;P&gt;Thanks! That worked for me!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 12:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Variable-Names-and-Variable-Values-from-Excel-File/m-p/2121948#M91352</guid>
      <dc:creator>HartbargerL</dc:creator>
      <dc:date>2023-09-25T12:14:14Z</dc:date>
    </item>
  </channel>
</rss>

