<?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 How to do nested Pick Match expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929444#M321408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the Pick Match expression to do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If EMEA is selected, show orders.&lt;/P&gt;&lt;P&gt;If Asia is shown, show Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Pick Match expression currently looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create a nested example like this? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 14:26:26 GMT</pubDate>
    <dc:creator>jblomqvist</dc:creator>
    <dc:date>2015-08-28T14:26:26Z</dc:date>
    <item>
      <title>How to do nested Pick Match expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929444#M321408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the Pick Match expression to do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If EMEA is selected, show orders.&lt;/P&gt;&lt;P&gt;If Asia is shown, show Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Pick Match expression currently looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create a nested example like this? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929444#M321408</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-08-28T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to do nested Pick Match expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929445#M321409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why would you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this does the job:&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; font-size: 13px;"&gt;=Pick(Match(DivisionName, 'EMEA'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, 'Asia'&lt;/SPAN&gt;), Count(Distinct OrderID), Sum(LineSalesAmount))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Note: this will only work 100% of the time if used in a table with DivisionName as (one of the) Dimension. If you put this in a text box, you must make sure that exactly one DivisionName is selected at all times, or you will get no results.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929445#M321409</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-08-28T14:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to do nested Pick Match expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929446#M321410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Hi you are right. I got my syntax mixed up. It is a sequence I forgot &lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to provide an else using pick match?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. If nothing is selected then it should say 'Nothing to display'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929446#M321410</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-08-28T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to do nested Pick Match expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929447#M321411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getselectedcount(yourselectionfield)&amp;gt;0,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; Pick(Match(DivisionName, 'EMEA'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, 'Asia'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;), Count(Distinct OrderID), Sum(LineSalesAmount)),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Nothing to display'&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929447#M321411</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-08-28T14:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to do nested Pick Match expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929448#M321412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMHO using Pick(Match()) in this case doesn't offer much of an advantage over something simple like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=IF (DivisionName='EMEA', &lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;Count(Distinct OrderID),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF (DivisionName = 'Asia', &lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;Sum(LineSalesAmount)&lt;/SPAN&gt;, 'Nothing to show'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-nested-Pick-Match-expression/m-p/929448#M321412</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-08-28T16:06:42Z</dc:date>
    </item>
  </channel>
</rss>

