<?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: Multiple Select in Field criteria (Range + Single Value) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Select-in-Field-criteria-Range-Single-Value/m-p/497017#M185831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked: =if(MTM=1,'(') &amp;amp; '&amp;gt;=' &amp;amp; minExpYr &amp;amp; '&amp;lt;=' &amp;amp; maxExpYr &amp;amp; if(MTM=1, '| MTM)')&lt;/P&gt;&lt;P&gt;(MTM being the button varible to toggle on/off)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final Select in field criteria shows as: Expiration Year: (&amp;gt;=2013&amp;lt;=2015| MTM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The brackets were the issue, I was not including them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2013 13:34:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-15T13:34:24Z</dc:date>
    <item>
      <title>Multiple Select in Field criteria (Range + Single Value)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Select-in-Field-criteria-Range-Single-Value/m-p/497016#M185830</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 currently putting together a document where the user needs to be able to select a range of dates and then be able to toggle on a seperate value to be included. The range selection works fine using triggers for Min/Max vars but when I try include an extra single value I am unsure how to make it filter properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field = Expiration Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Range Select in Field example: &amp;gt;=2013&amp;lt;=2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data also includes the value 'MTM' so I need to be able to include that in the dataset based on toggling a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I modify the filter string to include this value AND the range? I have tried varius combinations but can't figure it out. Or can I make the trigger put the values as 2013,2014,2015,MTM instead of the range example above? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 13:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Select-in-Field-criteria-Range-Single-Value/m-p/497016#M185830</guid>
      <dc:creator />
      <dc:date>2013-08-15T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Select in Field criteria (Range + Single Value)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Select-in-Field-criteria-Range-Single-Value/m-p/497017#M185831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked: =if(MTM=1,'(') &amp;amp; '&amp;gt;=' &amp;amp; minExpYr &amp;amp; '&amp;lt;=' &amp;amp; maxExpYr &amp;amp; if(MTM=1, '| MTM)')&lt;/P&gt;&lt;P&gt;(MTM being the button varible to toggle on/off)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final Select in field criteria shows as: Expiration Year: (&amp;gt;=2013&amp;lt;=2015| MTM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The brackets were the issue, I was not including them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 13:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Select-in-Field-criteria-Range-Single-Value/m-p/497017#M185831</guid>
      <dc:creator />
      <dc:date>2013-08-15T13:34:24Z</dc:date>
    </item>
  </channel>
</rss>

