<?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 Mapping Load for variations in target measures in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-Load-for-variations-in-target-measures/m-p/1244741#M394864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded and inline statement which allows me to do a mapping load and align a target to a metric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Target:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Metric, Target_Line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; E, 0.97&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mapping load is then applied to a table in my load and results in a field called &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Safe_Target&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need to reference the Safe_Target field in order to show under Text Color of an expression as to whether the Metric has hit the target of not.&amp;nbsp; However some of my metrics have a target of &amp;gt;= or &amp;lt;= and some of my metrics are counts, while others are %'s. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is I cannot get the text format to show for each Metric accurately.&amp;nbsp; This is my attempt at trying to apply a Target_Line with lots of different combinations.&amp;nbsp; Only Metric A and D are showing accurately so far&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;If(Num(sum({$&amp;lt;Metric = {'A', 'D}&amp;gt;}Numerator))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;lt;=&lt;/SPAN&gt;Num#(Safe_Target), $(vColour_Green),&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;If(Num(sum({$&amp;lt;Metric = {'B', 'C'}&amp;gt;}Numerator))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;gt;&lt;/SPAN&gt;Num#(Safe_Target), $(vColour_Green),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vColour_Fail_Target)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide any advice as to how I can get Metrics B and C to also show the correct text colours. I understand that my expression may not have been written accurately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 13:05:14 GMT</pubDate>
    <dc:creator>helen_pip</dc:creator>
    <dc:date>2017-01-13T13:05:14Z</dc:date>
    <item>
      <title>Mapping Load for variations in target measures</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-for-variations-in-target-measures/m-p/1244741#M394864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded and inline statement which allows me to do a mapping load and align a target to a metric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Target:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Metric, Target_Line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; E, 0.97&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mapping load is then applied to a table in my load and results in a field called &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Safe_Target&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need to reference the Safe_Target field in order to show under Text Color of an expression as to whether the Metric has hit the target of not.&amp;nbsp; However some of my metrics have a target of &amp;gt;= or &amp;lt;= and some of my metrics are counts, while others are %'s. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is I cannot get the text format to show for each Metric accurately.&amp;nbsp; This is my attempt at trying to apply a Target_Line with lots of different combinations.&amp;nbsp; Only Metric A and D are showing accurately so far&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;If(Num(sum({$&amp;lt;Metric = {'A', 'D}&amp;gt;}Numerator))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;lt;=&lt;/SPAN&gt;Num#(Safe_Target), $(vColour_Green),&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;If(Num(sum({$&amp;lt;Metric = {'B', 'C'}&amp;gt;}Numerator))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;gt;&lt;/SPAN&gt;Num#(Safe_Target), $(vColour_Green),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vColour_Fail_Target)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide any advice as to how I can get Metrics B and C to also show the correct text colours. I understand that my expression may not have been written accurately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 13:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-for-variations-in-target-measures/m-p/1244741#M394864</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2017-01-13T13:05:14Z</dc:date>
    </item>
  </channel>
</rss>

