<?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 do I get a 'between' expression to work? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-do-I-get-a-between-expression-to-work/m-p/1252381#M25265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create an IF statement that contains a 'between' expression but I cant seem to get it to work. Basically I have a formula which is working out the no. of months since a booking date to now and I need it to only show me the entries have a No. of months since booking date between 9 and 12 months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I have to give me the no. of months is as follows,&lt;/P&gt;&lt;P&gt;((year(today(2))*12)+month(today(2))) - (((year([BookingDate.autoCalendar.Date])*12)+month([BookingDate.autoCalendar.Date])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2017 15:27:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-21T15:27:37Z</dc:date>
    <item>
      <title>How do I get a 'between' expression to work?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-get-a-between-expression-to-work/m-p/1252381#M25265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create an IF statement that contains a 'between' expression but I cant seem to get it to work. Basically I have a formula which is working out the no. of months since a booking date to now and I need it to only show me the entries have a No. of months since booking date between 9 and 12 months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I have to give me the no. of months is as follows,&lt;/P&gt;&lt;P&gt;((year(today(2))*12)+month(today(2))) - (((year([BookingDate.autoCalendar.Date])*12)+month([BookingDate.autoCalendar.Date])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 15:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-get-a-between-expression-to-work/m-p/1252381#M25265</guid>
      <dc:creator />
      <dc:date>2017-03-21T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a 'between' expression to work?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-get-a-between-expression-to-work/m-p/1252382#M25266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think QlikView has a Between function... what is the exact expression you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 15:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-get-a-between-expression-to-work/m-p/1252382#M25266</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-21T15:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a 'between' expression to work?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-get-a-between-expression-to-work/m-p/1252383#M25267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Louisa, you would need to use two comparisons and a AND logical operator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( EXPRESSION &amp;gt;=9 and EXPRESSION &amp;lt;= 12, ....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you check against distinct values, you can use a matching function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( Match( EXPRESSION, 9,10,11,12), ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 16:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-get-a-between-expression-to-work/m-p/1252383#M25267</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-21T16:02:20Z</dc:date>
    </item>
  </channel>
</rss>

