<?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: Using ValueList with Pick(Match( in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132280#M764184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(ValueList('WK1','WK2','WK3')='WK1', Sum(WK1_AMT),&lt;/P&gt;&lt;P&gt; if(ValueList('WK1','WK2','WK3')='WK2', Sum(WK2_AMT),&lt;/P&gt;&lt;P&gt; if(ValueList('WK1','WK2','WK3')='WK3', Sum(WK3_AMT),0)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2018 10:29:22 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-07-27T10:29:22Z</dc:date>
    <item>
      <title>Using ValueList with Pick(Match(</title>
      <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132278#M764182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a graph from my existing data, but am having trouble in doing so. Here are the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that looks like this (not exactly, but the same idea for simplicity):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209022_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a line graph, that puts sum(WK1_AMT), sum(WK2_AMT), &amp;amp; sum(WK3_AMT) on the same trend line. Just like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-2" height="258" src="https://community.qlik.com/legacyfs/online/209023_2.PNG" style="height: 257.695px; width: 426px;" width="426" /&gt;&lt;/P&gt;&lt;P&gt;As you can tell, its not so simple, since each amount represents its own column header/expression. My idea, and this is where my question lies, is if I can utilize PICK(MATCH(VALUELIST... where I create a value list of something like ValueList('WK1','WK2','WK3'). &lt;/P&gt;&lt;P&gt;Then, in my expression, write something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PICK(MATCH(VALUELIST('WK1','WK2','WK3'),'WK1','WK2','WK3'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(WK1_AMT),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(WK2_AMT),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(WK3_AMT)&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Essentially, what I am trying to do, is force a manually created dimension value, to an expression&lt;/STRONG&gt;. Trying to do the above, my graph keeps saying "No Data to Display", so I'm not sure if I am just writing it incorrectly, or if this just cannot be done (I did already add =Valuelist('WK1','WK2','WK3') in the calculated dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with trying to create the above graph, from the existing table would be greatly appreciated. I'm sure a suggestion of utilizing a crosstable would come up, but there is actually a lot more data in my table that would make that complicated. The above table is a simple idea of what I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132278#M764182</guid>
      <dc:creator>data_guru_001</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using ValueList with Pick(Match(</title>
      <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132279#M764183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of Pick and match you can try if statement&lt;/P&gt;&lt;P&gt;=if(ValueList('WK1_AMT','WK2_AMT','WK3_AMT')='WK1_AMT', Sum(WK1_AMT),&lt;/P&gt;&lt;P&gt;if(ValueList('WK1_AMT','WK2_AMT','WK3_AMT')='WK2_AMT', Sum(WK2_AMT),&lt;/P&gt;&lt;P&gt;if(ValueList('WK1_AMT','WK2_AMT','WK3_AMT')='WK3_AMT', Sum(WK3_AMT))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the attached qvw file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 05:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132279#M764183</guid>
      <dc:creator>pooja_prabhu_n</dc:creator>
      <dc:date>2018-07-27T05:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using ValueList with Pick(Match(</title>
      <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132280#M764184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(ValueList('WK1','WK2','WK3')='WK1', Sum(WK1_AMT),&lt;/P&gt;&lt;P&gt; if(ValueList('WK1','WK2','WK3')='WK2', Sum(WK2_AMT),&lt;/P&gt;&lt;P&gt; if(ValueList('WK1','WK2','WK3')='WK3', Sum(WK3_AMT),0)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 10:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132280#M764184</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-27T10:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using ValueList with Pick(Match(</title>
      <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132281#M764185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. However, I am trying to avoid using repeated IF statements, as because I have so much data in the table, it would really drag down the performance issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea with a workaround on the IF statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132281#M764185</guid>
      <dc:creator>data_guru_001</dc:creator>
      <dc:date>2018-07-27T20:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using ValueList with Pick(Match(</title>
      <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132282#M764186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA the app with pick-match used in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 04:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132282#M764186</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2018-07-29T04:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using ValueList with Pick(Match(</title>
      <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132283#M764187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PICK(MATCH(VALUELIST('WK1','WK2','WK3'),'WK1','WK2','WK3'),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(WK1_AMT),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(WK2_AMT),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(WK3_AMT)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;I extra parentheses closing&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 04:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132283#M764187</guid>
      <dc:creator>fabdulazeez</dc:creator>
      <dc:date>2018-07-29T04:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using ValueList with Pick(Match(</title>
      <link>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132284#M764188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is it. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 23:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-ValueList-with-Pick-Match/m-p/132284#M764188</guid>
      <dc:creator>data_guru_001</dc:creator>
      <dc:date>2018-07-30T23:39:37Z</dc:date>
    </item>
  </channel>
</rss>

