<?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: Re: Create variable string name in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811433#M286437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that but its more complicated.&amp;nbsp; You need to load the variable names in the load script for each client and then use the PICK() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the attached example (QVW). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Highlights below in the screenshots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70989_Capture1.PNG.png" style="width: 620px; height: 285px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70990_Capture2.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70994_Capture3.PNG.png" style="width: 620px; height: 333px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture4.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70995_Capture4.PNG.png" style="width: 620px; height: 381px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 17:35:46 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-11-11T17:35:46Z</dc:date>
    <item>
      <title>Create variable string name in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811430#M286434</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'm trying to access the information inside a variable by constructing the variable string name in an expression. All of my variables were created using the format "v" + [Client Name]. For instance, the company "Acme" would have a variable vAcme. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to dynamically access the variables in a straight table that uses the Client Name as an expression. I have been unable to access the variable information using my current methods. My expression looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='$(v' &amp;amp; [Client Name] &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns NULL. Is there a reason this does not work? Can I update my syntax to make it return the variable value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 16:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811430#M286434</guid>
      <dc:creator />
      <dc:date>2014-11-11T16:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create variable string name in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811431#M286435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This may work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=$(='v' &amp;amp; [Client Name])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if its in a text box and there are multiple client names you'll need to select only one client name and perhaps use only() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=$(='v' &amp;amp; only( [Client Name]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;the&amp;nbsp; '=' inside the dollar sign expansion will build a string with the right variable name. the $() will evaluate it as a variable.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 16:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811431#M286435</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-11T16:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create variable string name in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811432#M286436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great, but is it possible to use a similar formula in a straight table? My dimension is [Client Name], so I would assume the expression would be able to parse through and choose the current row item/client name, but this expression only works, as you mentioned, when a specific client is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 16:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811432#M286436</guid>
      <dc:creator />
      <dc:date>2014-11-11T16:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Create variable string name in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811433#M286437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that but its more complicated.&amp;nbsp; You need to load the variable names in the load script for each client and then use the PICK() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the attached example (QVW). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Highlights below in the screenshots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70989_Capture1.PNG.png" style="width: 620px; height: 285px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70990_Capture2.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70994_Capture3.PNG.png" style="width: 620px; height: 333px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture4.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70995_Capture4.PNG.png" style="width: 620px; height: 381px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 17:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811433#M286437</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-11T17:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Create variable string name in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811434#M286438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! This works great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 19:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-string-name-in-expression/m-p/811434#M286438</guid>
      <dc:creator />
      <dc:date>2014-11-11T19:07:30Z</dc:date>
    </item>
  </channel>
</rss>

