<?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 Map values in a range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Map-values-in-a-range/m-p/368319#M136959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 28px;"&gt;awesome,thx&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 11:11:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-26T11:11:30Z</dc:date>
    <item>
      <title>Map values in a range</title>
      <link>https://community.qlik.com/t5/QlikView/Map-values-in-a-range/m-p/368317#M136957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I remember QlikView has such function, but I forgot where I saw it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status_mapping_tab:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;GreaterThan,LessThan,StatusName&lt;/P&gt;&lt;P&gt;0,5,Good&lt;/P&gt;&lt;P&gt;6,10,Normal&lt;/P&gt;&lt;P&gt;10,100,Bad&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume here has a table like above one, which include the value range for performance report. &lt;/P&gt;&lt;P&gt;If the value is in the range (defined as &lt;STRONG&gt;&amp;gt;=GreaterThan and &amp;lt;=LessThan&lt;/STRONG&gt;), than value can be mapped to that type.&lt;/P&gt;&lt;P&gt;E,g:&lt;/P&gt;&lt;P&gt;If the web page response time less than 5 second, performance is "Good“, if &amp;gt;=6 and &amp;lt;=10 second, "Normal". Otherwise, ‘Bad'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is there any function can be used as FunctionName([Mapping Name], [value]).&lt;/P&gt;&lt;P&gt;E.g:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FunctionName('Status_mapping_tab', 4.5) = Good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FunctionName('Status_mapping_tab', 8.5) = Normal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, as I know, &lt;STRONG&gt;mapping&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;applymap()&lt;/STRONG&gt; are used for a single value, instead of range. If I am wrong, please correct me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 09:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Map-values-in-a-range/m-p/368317#M136957</guid>
      <dc:creator />
      <dc:date>2012-03-26T09:30:41Z</dc:date>
    </item>
    <item>
      <title>Map values in a range</title>
      <link>https://community.qlik.com/t5/QlikView/Map-values-in-a-range/m-p/368318#M136958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want to make an IntervalMatch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MockUpData:&lt;/P&gt;&lt;P&gt;Load round(rand()*100) as ResponseTime autogenerate 30;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status_mapping_tab:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;GreaterThan,LessThan,StatusName&lt;/P&gt;&lt;P&gt;0,5,Good&lt;/P&gt;&lt;P&gt;6,10,Normal&lt;/P&gt;&lt;P&gt;10,100,Bad];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch:&lt;/P&gt;&lt;P&gt;IntervalMatch (ResponseTime) Load GreaterThan,LessThan resident Status_mapping_tab ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 09:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Map-values-in-a-range/m-p/368318#M136958</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-03-26T09:45:38Z</dc:date>
    </item>
    <item>
      <title>Map values in a range</title>
      <link>https://community.qlik.com/t5/QlikView/Map-values-in-a-range/m-p/368319#M136959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 28px;"&gt;awesome,thx&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 11:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Map-values-in-a-range/m-p/368319#M136959</guid>
      <dc:creator />
      <dc:date>2012-03-26T11:11:30Z</dc:date>
    </item>
  </channel>
</rss>

