<?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 statement without creating an extra expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pick-match-statement-without-creating-an-extra-expression/m-p/104330#M16445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More info on the requirement please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2018 10:43:17 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2018-08-21T10:43:17Z</dc:date>
    <item>
      <title>Pick match statement without creating an extra expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-match-statement-without-creating-an-extra-expression/m-p/104329#M16444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlik user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pick match statement which counts a number of patients by a category based on a button selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. Pick(Match(v_selected1,2,3),$(Count_Day), $(Count_Emerg), $(Count_IP)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know whether it is possible to use a second field to show the number of patients who died from filed IP_Discharge_Method without having to rewrite my expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. If(&lt;SPAN style="font-size: 13.3333px;"&gt;IP_Discharge_Method=Died(&lt;SPAN style="font-size: 13.3333px;"&gt;Pick(Match(v_selected1,2,3),$(Count_Day), $(Count_Emerg), $(Count_IP)))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any help would be greatly appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 10:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-match-statement-without-creating-an-extra-expression/m-p/104329#M16444</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2018-08-21T10:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pick match statement without creating an extra expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-match-statement-without-creating-an-extra-expression/m-p/104330#M16445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More info on the requirement please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 10:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-match-statement-without-creating-an-extra-expression/m-p/104330#M16445</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-08-21T10:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pick match statement without creating an extra expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-match-statement-without-creating-an-extra-expression/m-p/104331#M16446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that your variables within the pick-part are expressions. And there you could add something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;SPAN style="font-size: 13.3333px;"&gt;IP_Discharge_Method = {'Died'} ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;to apply this condition or maybe:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;... &lt;SPAN style="font-size: 13.3333px;"&gt;IP_Discharge_Method = p(&lt;SPAN style="font-size: 13.3333px;"&gt;IP_Discharge_Method&lt;/SPAN&gt;) ...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;to be more flexible and just select which values should be included within the condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 12:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-match-statement-without-creating-an-extra-expression/m-p/104331#M16446</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-08-21T12:32:17Z</dc:date>
    </item>
  </channel>
</rss>

