<?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: Assign the column multiple values in the single variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Assign-the-column-multiple-values-in-the-single-variable/m-p/1873116#M72028</link>
    <description>&lt;P&gt;can u try using pick and match like&lt;/P&gt;
&lt;P&gt;=pick(wildmatch(lng,'eng','tel'),sum(cost),sum(sal))&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 07:49:27 GMT</pubDate>
    <dc:creator>anat</dc:creator>
    <dc:date>2021-12-20T07:49:27Z</dc:date>
    <item>
      <title>Assign the column multiple values in the single variable</title>
      <link>https://community.qlik.com/t5/App-Development/Assign-the-column-multiple-values-in-the-single-variable/m-p/1873048#M72022</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have two columns column1 and column2 in the table. Based on the language selection AE and EN, I have to store the column1 or column2 values in the target variable.&lt;/P&gt;
&lt;P&gt;In Variable, I have used the below condition to get the value in the variable.&lt;/P&gt;
&lt;P&gt;Variable name: result&lt;/P&gt;
&lt;P&gt;expression : if(wildmatch([language],'AE','EN"),[column1],[coumn2])&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dharshini_0-1639975322410.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68898iF24566A95710819F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dharshini_0-1639975322410.png" alt="Dharshini_0-1639975322410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then use the result variable in barchart and I got the below screenshot barchart instead of values in the column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dharshini_1-1639975661406.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68899iC140DD99B81E74B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dharshini_1-1639975661406.png" alt="Dharshini_1-1639975661406.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Expected Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dharshini_2-1639975725893.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68900i0008C3FBFF309EDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dharshini_2-1639975725893.png" alt="Dharshini_2-1639975725893.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 04:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Assign-the-column-multiple-values-in-the-single-variable/m-p/1873048#M72022</guid>
      <dc:creator>Dharshini</dc:creator>
      <dc:date>2021-12-20T04:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Assign the column multiple values in the single variable</title>
      <link>https://community.qlik.com/t5/App-Development/Assign-the-column-multiple-values-in-the-single-variable/m-p/1873116#M72028</link>
      <description>&lt;P&gt;can u try using pick and match like&lt;/P&gt;
&lt;P&gt;=pick(wildmatch(lng,'eng','tel'),sum(cost),sum(sal))&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 07:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Assign-the-column-multiple-values-in-the-single-variable/m-p/1873116#M72028</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2021-12-20T07:49:27Z</dc:date>
    </item>
  </channel>
</rss>

