<?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 Apply Map Question - Using a range of values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193564#M54778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;O.K!&lt;/P&gt;&lt;P&gt;Now you can open this version by personal edition without any problems.&lt;/P&gt;&lt;P&gt;We tested it some times and it was succesful.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 12:30:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-25T12:30:38Z</dc:date>
    <item>
      <title>Apply Map Question - Using a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193561#M54775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Is it possible to use the APPLY MAP function for a range of values?&lt;/P&gt;&lt;P&gt;The scenario i have is that i have a filed containing a number, this number relates to a duration (in days)&lt;/P&gt;&lt;P&gt;e.g. 1.032424&lt;/P&gt;&lt;P&gt;What I want to do is to categorise this duration into a banding, for instance '1 to 3 days'&lt;/P&gt;&lt;P&gt;So i want to take my original table, and create a new field for each row which states the band that each duration falls into&lt;/P&gt;&lt;P&gt;Duration Band&lt;/P&gt;&lt;P&gt;1.02323 1 to 3 days&lt;/P&gt;&lt;P&gt;0.5656 Less than 1 day&lt;/P&gt;&lt;P&gt;5.5353 3 days to 1 week&lt;/P&gt;&lt;P&gt;.... and so on&lt;/P&gt;&lt;P&gt;So the sort of mapping i need to carry out is dependent on the number range the duration falls in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt; 1 maps to 'Less than 1 day'&lt;/P&gt;&lt;P&gt;&amp;gt;= 1 AND &amp;lt; 3 maps to '1 to 3 days'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be done, my research suggests that an apply map is the tidiest way to do it, but the only examples i can find are exact mappings, and don't cater for ranges such as this.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 11:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193561#M54775</guid>
      <dc:creator />
      <dc:date>2010-03-25T11:45:29Z</dc:date>
    </item>
    <item>
      <title>Apply Map Question - Using a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193562#M54776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please see if this example is helpful to slove your requirement.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 12:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193562#M54776</guid>
      <dc:creator />
      <dc:date>2010-03-25T12:04:04Z</dc:date>
    </item>
    <item>
      <title>Apply Map Question - Using a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193563#M54777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rainer, I'm still using the personal edition, so i guess i won't be able to open this without messing up my licence.. any chance you could copy and paste the bits of the script that do this in your example?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 12:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193563#M54777</guid>
      <dc:creator />
      <dc:date>2010-03-25T12:22:23Z</dc:date>
    </item>
    <item>
      <title>Apply Map Question - Using a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193564#M54778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;O.K!&lt;/P&gt;&lt;P&gt;Now you can open this version by personal edition without any problems.&lt;/P&gt;&lt;P&gt;We tested it some times and it was succesful.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 12:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193564#M54778</guid>
      <dc:creator />
      <dc:date>2010-03-25T12:30:38Z</dc:date>
    </item>
    <item>
      <title>Apply Map Question - Using a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193565#M54779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 12:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Question-Using-a-range-of-values/m-p/193565#M54779</guid>
      <dc:creator />
      <dc:date>2010-03-25T12:38:20Z</dc:date>
    </item>
  </channel>
</rss>

