<?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: Value Mapping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831684#M292649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Exp1&amp;lt;=1, rangemax(0.5 + 5*(Exp1-0.9), 0.5),&lt;/P&gt;&lt;P&gt;if(Exp1&amp;gt;1, rangemin(1 + 10*(Exp1-1.0), 1.5),&lt;/P&gt;&lt;P&gt;'Error')) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91109_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET ThousandSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Dim1, Exp1/100 as Exp1 Inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim1, Exp1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C, 50&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C1,90&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C2,92&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C3,95&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C4,96&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C5,98&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D1,101&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D2,102&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D3,103&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D4,104&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D5, 105&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D6, 150&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;] ;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Jun 2015 17:28:26 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-06-28T17:28:26Z</dc:date>
    <item>
      <title>Value Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831680#M292645</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 don't know how to achive the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Value: 100% --&amp;gt; 1,0&lt;/P&gt;&lt;P&gt;if Value: 105% --&amp;gt; 1,5&lt;/P&gt;&lt;P&gt;if Value: 90% --&amp;gt; 0,5&lt;/P&gt;&lt;P&gt;where all above 105% should yield 1,5 and all below 90% should yield 0,5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Between min and max values there should be a linear correlation. So i think i need some kind of map here...&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 12:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831680#M292645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-26T12:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Value Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831681#M292646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use a simple if statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Value &amp;lt; 0.9, 0.5, If(Value &amp;gt; 1.05, 1.5, 1)) as NewValue&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 13:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831681#M292646</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-26T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Value Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831682#M292647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have only two conditions the suggestion from &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt; is logical and simple. If you have more conditions and/or your load or gui-calculation is quite slow then it could be useful to implement a kind of lookup like these one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(match(num(ceil(1.07, 0.05), '#.00', '.', ','), 0.00, ..., 1.10, .., 1.20), 0.00, ..., 0.5, ..., 1, 1.5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 16:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831682#M292647</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-26T16:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Value Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831683#M292648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you help sunindia, but im afraid this isnt exactly what i need.&lt;/P&gt;&lt;P&gt;If I do it like this, there are only three possible Values für 'NewVaule' (0.5,1 and 1.5).&lt;/P&gt;&lt;P&gt;If 'Value' is 1.04, 'NewValue' should be something like 1.4 and so on...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 17:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831683#M292648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-28T17:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Value Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831684#M292649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Exp1&amp;lt;=1, rangemax(0.5 + 5*(Exp1-0.9), 0.5),&lt;/P&gt;&lt;P&gt;if(Exp1&amp;gt;1, rangemin(1 + 10*(Exp1-1.0), 1.5),&lt;/P&gt;&lt;P&gt;'Error')) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91109_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET ThousandSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Dim1, Exp1/100 as Exp1 Inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim1, Exp1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C, 50&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C1,90&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C2,92&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C3,95&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C4,96&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C5,98&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D1,101&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D2,102&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D3,103&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D4,104&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D5, 105&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D6, 150&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;] ;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 17:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831684#M292649</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-28T17:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Value Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831685#M292650</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;another 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_14355227024859019 jive_text_macro" jivemacro_uid="_14355227024859019"&gt;
&lt;P&gt;=RangeMin(1.5,RangeMax(0.5,(Value-1)*5*(2+(Value&amp;lt;1))+1))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_170202_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91118_QlikCommunity_Thread_170202_Pic1.JPG" style="height: auto; width: auto;" /&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>Sun, 28 Jun 2015 20:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831685#M292650</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-28T20:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Value Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831686#M292651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx, that did the trick!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 07:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Mapping/m-p/831686#M292651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-29T07:48:38Z</dc:date>
    </item>
  </channel>
</rss>

