<?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: Concatenate string with Column values in table to resolve variable name in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121458#M12832</link>
    <description>It is created in script by taking Max of AMT column and using peek function to assign it to that variable.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Rohan Waje&lt;BR /&gt;771500663</description>
    <pubDate>Fri, 22 Sep 2023 15:11:54 GMT</pubDate>
    <dc:creator>Rohan_W</dc:creator>
    <dc:date>2023-09-22T15:11:54Z</dc:date>
    <item>
      <title>Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121383#M12830</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;
&lt;P&gt;We have a requirement to calculate future values based upon previous month value for which we have created different variable for each month for which value need to be calculated as shown below,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rohan_W_0-1695385966557.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116845i7F659F59E5A34EF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rohan_W_0-1695385966557.png" alt="Rohan_W_0-1695385966557.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see, the variable name created in vSep, vOct, vNov and vDec and we need to add it to the table where it is missing(Highlighted Gray) for that particular month for the table shown below,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rohan_W_1-1695386110531.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116846iC0A1307134CF5C51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rohan_W_1-1695386110531.png" alt="Rohan_W_1-1695386110531.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We have created a column which resolves exact variable name from the existing column values present in the table and we need to resolve it based upon the variable values calculated earlier.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rohan_W_2-1695386249495.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116847iBD20D10FE164B67E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rohan_W_2-1695386249495.png" alt="Rohan_W_2-1695386249495.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If we use $(concat('v'&amp;amp;[MNTH_END.autoCalendar.Month],'')) it shows missing values.&lt;/P&gt;
&lt;P&gt;For Ex - We need to resolve vSep value and it should resolve to 1407 value.&lt;/P&gt;
&lt;P&gt;Please suggest to achieve the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121383#M12830</guid>
      <dc:creator>Rohan_W</dc:creator>
      <dc:date>2023-09-22T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121455#M12831</link>
      <description>&lt;P&gt;How is the variable &lt;STRONG&gt;vMax_Amt&lt;/STRONG&gt; defined?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 15:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121455#M12831</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2023-09-22T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121458#M12832</link>
      <description>It is created in script by taking Max of AMT column and using peek function to assign it to that variable.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Rohan Waje&lt;BR /&gt;771500663</description>
      <pubDate>Fri, 22 Sep 2023 15:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121458#M12832</guid>
      <dc:creator>Rohan_W</dc:creator>
      <dc:date>2023-09-22T15:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121476#M12833</link>
      <description>&lt;P&gt;In the context of the example I don't understand what the purpose of the &lt;STRONG&gt;Concat&lt;/STRONG&gt; function is.&lt;BR /&gt;However, you could try the following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$($(=Concat('v' &amp;amp; [MNTH_END.autoCalendar.Month], '')))

Or directly:
$($(='v' &amp;amp; [MNTH_END.autoCalendar.Month]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="gtx-trans" style="position: absolute; left: 452px; top: 66.4886px;"&gt;
&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Sep 2023 15:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121476#M12833</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2023-09-22T15:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121489#M12834</link>
      <description>&lt;P&gt;The above expression also resulting in null values. Aim here is to resolve the values in variable_list column which has the same name as variable created, ex- vSep should resolve to 1340.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;variable list vSep have value 1340 as show below,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rohan_W_0-1695400402334.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116865i7B1FB36D237D59DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rohan_W_0-1695400402334.png" alt="Rohan_W_0-1695400402334.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value for vSep in column variable_list should get replaced whit 1340 and similarly it will replace values for other variables vOct,vNov and vDec.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 16:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121489#M12834</guid>
      <dc:creator>Rohan_W</dc:creator>
      <dc:date>2023-09-22T16:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121502#M12835</link>
      <description>&lt;P&gt;Try with this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Pick(
	 Match('v' &amp;amp; [MNTH_END.autoCalendar.Month], 'vJan', 'vFeb', 'vMar', 'vApr', 'vMay', 'vJun', 'vJul', 'vAug', 'vSep', 'vOct', 'vNov', 'vDec')
,
	 $(vJan)
,
	 $(vFeb)
,
	 $(vMar)
,
	 $(vApr)
,
	 $(vMay)
,
	 $(vJun)
,
	 $(vJul)
,
	 $(vAug)
,
	 $(vSep)
,
	 $(vOct)
,
	 $(vNov)
,
	 $(vDec)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 Sep 2023 17:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121502#M12835</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2023-09-22T17:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121508#M12836</link>
      <description>&lt;P&gt;It worked!!! I had created variables for only vSep, vOct, vNov and vDec and modified your script accordingly.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rohan_W_0-1695404983922.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116874iC73945A96A847F3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rohan_W_0-1695404983922.png" alt="Rohan_W_0-1695404983922.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your support.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 17:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121508#M12836</guid>
      <dc:creator>Rohan_W</dc:creator>
      <dc:date>2023-09-22T17:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate string with Column values in table to resolve variable name</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121513#M12837</link>
      <description>&lt;P&gt;I included all months on purpose, even knowing that not all variables were defined.&lt;BR /&gt;If next year you include any of the variables corresponding to the missing months, you will have to modify the measure because it only considers September, October, November and December.&lt;BR /&gt;I am glad that you were able to solve the problem with my collaboration.&lt;/P&gt;
&lt;DIV id="gtx-trans" style="position: absolute; left: 55px; top: 71.8807px;"&gt;
&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Sep 2023 18:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenate-string-with-Column-values-in-table-to-resolve/m-p/2121513#M12837</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2023-09-22T18:29:09Z</dc:date>
    </item>
  </channel>
</rss>

