<?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 Variance / Tolerance Expressions - Flagging in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434735#M162050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to develop an expression that will look at the percentage of the difference between current month and previous month charges and compare to a table, then the result should be identified in a way that if the difference in the charge is 10% (or 5% or 20%) from one month to the next it will flag that charge id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my tolerance table:&amp;nbsp; &lt;IMG __jive_id="42049" class="jive-image" alt="Tolerance Table.PNG" src="/legacyfs/online/42049_Tolerance Table.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my chart - &lt;IMG __jive_id="42050" class="jive-image-thumbnail jive-image" height="95" onclick="" alt="Tolerance Variances.PNG" src="/legacyfs/online/42050_Tolerance Variances.PNG" width="716" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "DIFF in %" on my chart is -10% ....&amp;nbsp; How do I "FLAG" that??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2013 19:21:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-03T19:21:42Z</dc:date>
    <item>
      <title>Variance / Tolerance Expressions - Flagging</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434735#M162050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to develop an expression that will look at the percentage of the difference between current month and previous month charges and compare to a table, then the result should be identified in a way that if the difference in the charge is 10% (or 5% or 20%) from one month to the next it will flag that charge id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my tolerance table:&amp;nbsp; &lt;IMG __jive_id="42049" class="jive-image" alt="Tolerance Table.PNG" src="/legacyfs/online/42049_Tolerance Table.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my chart - &lt;IMG __jive_id="42050" class="jive-image-thumbnail jive-image" height="95" onclick="" alt="Tolerance Variances.PNG" src="/legacyfs/online/42050_Tolerance Variances.PNG" width="716" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "DIFF in %" on my chart is -10% ....&amp;nbsp; How do I "FLAG" that??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 19:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434735#M162050</guid>
      <dc:creator />
      <dc:date>2013-06-03T19:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Variance / Tolerance Expressions - Flagging</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434736#M162051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dawn, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you might have multiple ranges for each ChargeID then you could use IntervalMatch to compare the percent difference to the range you're interested in. If you only ever have one range (record) for each ChargeID then you could just join the tables and do a straight compare. I assume you'd assign the flag to the result field (maybe set it to a 1 if the flag is set).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have the result, if you'd like a visual indicator based upon the flag, you can add an expression to the color propery of the column to change the background. E.G..... Expand the plus sign next to the field, click "background color", click the Edit button, then enter into the Definition Box something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RESULT = 1, RGB(234,21,21))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That would change the background to red. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 17:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434736#M162051</guid>
      <dc:creator />
      <dc:date>2013-06-04T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variance / Tolerance Expressions - Flagging</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434737#M162052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if you'd like the &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;ChargeID &lt;/SPAN&gt;to turn red, the do that to the dimension for ChargeID. If you want the Current vs. Previous Month to turn red then do it for that expression (field). etc....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 17:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434737#M162052</guid>
      <dc:creator />
      <dc:date>2013-06-04T17:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variance / Tolerance Expressions - Flagging</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434738#M162053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you have one set of ranges per ChargeIDNum. In this case, you don't need IntervalMatch. All you need to do is join the table with the ranges to the original table. This will give you one record with everything you need. Then all you need to do is write the code to test the condition and highlight the appropriate field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 14:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434738#M162053</guid>
      <dc:creator />
      <dc:date>2013-06-05T14:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Variance / Tolerance Expressions - Flagging</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434739#M162054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much - that's what I needed!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 14:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434739#M162054</guid>
      <dc:creator />
      <dc:date>2013-06-05T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variance / Tolerance Expressions - Flagging</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434740#M162055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much - that's what I needed!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 14:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-Tolerance-Expressions-Flagging/m-p/434740#M162055</guid>
      <dc:creator />
      <dc:date>2013-06-05T14:12:02Z</dc:date>
    </item>
  </channel>
</rss>

