<?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: Pick Match value list as a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979016#M334387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;You have specified the variable for ValueList, but not for Match. May be if you add it for Match it might work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;if(isnull(Pick(Match(ValueList(&lt;SPAN style="font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Avg({$&amp;lt;[HCP]={2,14},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'), &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Avg({$&amp;lt;[HCP]={3,15},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Avg({$&amp;lt;[HCP]={30,36},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',)),Null(),&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Pick(Match(ValueList(&lt;SPAN style="font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Sum({$&amp;lt;[HCP]={2,14},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'), &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Sum({$&amp;lt;[HCP]={3,15},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Sum({$&amp;lt;[HCP]={30,36},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Dec 2015 10:52:25 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-23T10:52:25Z</dc:date>
    <item>
      <title>Pick Match value list as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979015#M334386</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 use the Pick(Match(Valuelist function.&amp;nbsp; It works fine for me but I will use the valuelist a lot in the document so want to put it in a variable that I only have to change once if wording etc changes.&amp;nbsp; I have tried as follows but it won't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;original expression that works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ValueList&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Total no. of persons in receipt of a HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of persons in receipt of a DDI HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of new HCP Clients (Annual target) ',&lt;BR /&gt; 'INTENSIVE HCP number of persons in receipt of an Intensive HCP at a point in time (capacity)',&lt;BR /&gt; 'Number of new Intensive HCPs, annually '),&lt;BR /&gt; &lt;BR /&gt; 'Total no. of persons in receipt of a HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of persons in receipt of a DDI HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of new HCP Clients (Annual target) ',&lt;BR /&gt; 'INTENSIVE HCP number of persons in receipt of an Intensive HCP at a point in time (capacity)',&lt;BR /&gt; 'Number of new Intensive HCPs, annually '),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={2,14},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'), &lt;BR /&gt; '',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={3,15},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={30,36},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; '',)),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ValueList&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Total no. of persons in receipt of a HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of persons in receipt of a DDI HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of new HCP Clients (Annual target) ',&lt;BR /&gt; 'INTENSIVE HCP number of persons in receipt of an Intensive HCP at a point in time (capacity)',&lt;BR /&gt; 'Number of new Intensive HCPs, annually '),&lt;BR /&gt; &lt;BR /&gt; 'Total no. of persons in receipt of a HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of persons in receipt of a DDI HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of new HCP Clients (Annual target) ',&lt;BR /&gt; 'INTENSIVE HCP number of persons in receipt of an Intensive HCP at a point in time (capacity)',&lt;BR /&gt; 'Number of new Intensive HCPs, annually '),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={2,14},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'), &lt;BR /&gt; '',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={3,15},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={30,36},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; '',)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;New expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ValueList&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vHCPList)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={2,14},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'), &lt;BR /&gt; '',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={3,15},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={30,36},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; '',))),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ValueList&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vHCPList)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={2,14},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'), &lt;BR /&gt; '',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={3,15},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HCP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={30,36},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))), '##0'),&lt;BR /&gt; '',))) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Variable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Total no. of persons in receipt of a HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of persons in receipt of a DDI HCP (Monthly target) ',&lt;BR /&gt; 'Total no. of new HCP Clients (Annual target) ',&lt;BR /&gt; 'INTENSIVE HCP number of persons in receipt of an Intensive HCP at a point in time (capacity)',&lt;BR /&gt; 'Number of new Intensive HCPs, annually ' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 10:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979015#M334386</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2015-12-23T10:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pick Match value list as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979016#M334387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;You have specified the variable for ValueList, but not for Match. May be if you add it for Match it might work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;if(isnull(Pick(Match(ValueList(&lt;SPAN style="font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Avg({$&amp;lt;[HCP]={2,14},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'), &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Avg({$&amp;lt;[HCP]={3,15},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Avg({$&amp;lt;[HCP]={30,36},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',)),Null(),&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Pick(Match(ValueList(&lt;SPAN style="font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;$(vHCPList)&lt;/SPAN&gt;),&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Sum({$&amp;lt;[HCP]={2,14},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'), &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Sum({$&amp;lt;[HCP]={3,15},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;num((((Sum({$&amp;lt;[HCP]={30,36},ReferredMM={1}&amp;gt;}ActualValue)))), '##0'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'',))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 10:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979016#M334387</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-23T10:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pick Match value list as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979017#M334388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny T that worked and will save me a lot of work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 11:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979017#M334388</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2015-12-23T11:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pick Match value list as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979018#M334389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, I am glad to hear that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 11:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-Match-value-list-as-a-variable/m-p/979018#M334389</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-23T11:39:15Z</dc:date>
    </item>
  </channel>
</rss>

