<?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: Is it possible to create Pick and Match expression for a date range? (As an alternative to IF statements) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-create-Pick-and-Match-expression-for-a-date/m-p/1181584#M382859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just saw this thread today where somebody figured out a way to use Pick(Match()) instead of if for range&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/232279"&gt;Pick Match with ‘greater/less than’ operators&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Sep 2016 17:01:22 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-12T17:01:22Z</dc:date>
    <item>
      <title>Is it possible to create Pick and Match expression for a date range? (As an alternative to IF statements)</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-create-Pick-and-Match-expression-for-a-date/m-p/1181583#M382858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create a pick and match expression that is an alternative to a nested IF statement for different date ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say you had a DeliveryDate field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I wanted to create a criteria like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If DeliveryDate is less than &amp;lt;=5 days from OrderDate then it's Good&lt;/P&gt;&lt;P&gt;If DeliveryDate is between &amp;gt;=6 and &amp;lt;=10 days then it was Satisfactory&lt;/P&gt;&lt;P&gt;If Delivery Date is &amp;gt;=11 days then it is Late.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write this in a Pick Match expression, if at all?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 16:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-create-Pick-and-Match-expression-for-a-date/m-p/1181583#M382858</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2016-09-12T16:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create Pick and Match expression for a date range? (As an alternative to IF statements)</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-create-Pick-and-Match-expression-for-a-date/m-p/1181584#M382859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just saw this thread today where somebody figured out a way to use Pick(Match()) instead of if for range&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/232279"&gt;Pick Match with ‘greater/less than’ operators&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-create-Pick-and-Match-expression-for-a-date/m-p/1181584#M382859</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-12T17:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create Pick and Match expression for a date range? (As an alternative to IF statements)</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-create-Pick-and-Match-expression-for-a-date/m-p/1181585#M382860</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;maybe one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14737256982547764 jive_text_macro" jivemacro_uid="_14737256982547764"&gt;
&lt;P&gt;Pick(Match(-1,DeliveryDate-OrderDate&amp;lt;=5,DeliveryDate-OrderDate&amp;gt;=6 and DeliveryDate-OrderDate&amp;lt;=10,DeliveryDate-OrderDate&amp;gt;=11),'Good','Satisfactory','Late')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_232390_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137207_QlikCommunity_Thread_232390_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_232390_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/137208_QlikCommunity_Thread_232390_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_232390_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/137209_QlikCommunity_Thread_232390_Pic3.JPG" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 00:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-create-Pick-and-Match-expression-for-a-date/m-p/1181585#M382860</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-09-13T00:15:47Z</dc:date>
    </item>
  </channel>
</rss>

