<?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: Expression background color vs Custom cell format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-background-color-vs-Custom-cell-format/m-p/945936#M467143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the reason is that your expression on these TOTAL level returned no valid result. Probably you will need to wrap your expression into an aggr-function to get your desired result: &lt;A href="https://community.qlik.com/qlik-blogpost/2967"&gt;AGGR...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 13:36:56 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-12-03T13:36:56Z</dc:date>
    <item>
      <title>Expression background color vs Custom cell format</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-background-color-vs-Custom-cell-format/m-p/945935#M467142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have an expression background formula that basically says if you're under budget by 250K and that is 10% of budget then put in lightgreen, if false but you're over budget by 50K and that is 10% of budget then you're in a red color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this:&lt;/P&gt;&lt;P&gt;=if((sum({$&amp;lt;[%CLE_Type_Transaction_ID] -= {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)-&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[%CLE_Type_Transaction_ID] = {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)&amp;gt; 250000) and &lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;[%CLE_Type_Transaction_ID] -= {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)-&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[%CLE_Type_Transaction_ID] = {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)&amp;gt;&lt;/P&gt;&lt;P&gt;0.1*(sum({$&amp;lt;[%CLE_Type_Transaction_ID] = {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * %CR004M))),lightgreen(),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((sum({$&amp;lt;[%CLE_Type_Transaction_ID] -= {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)-&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[%CLE_Type_Transaction_ID] = {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)&amp;lt; -50000) and &lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;[%CLE_Type_Transaction_ID] -= {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)-&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[%CLE_Type_Transaction_ID] = {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * -1)&amp;lt;&lt;/P&gt;&lt;P&gt;-0.1*(sum({$&amp;lt;[%CLE_Type_Transaction_ID] = {'EB', 'EA'}, [Unité administrative ID]-={'0000'} &amp;gt;}[Montant cumulé aad] * %CR004M))), RGB(255,87,129)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works like a charm for all my rows except the last total line. It just free games on me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-1" src="/legacyfs/online/107971_Sans titre.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to fix the background color with a custom cell format, but the expression background color takes precedence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue why this would happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-background-color-vs-Custom-cell-format/m-p/945935#M467142</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-12-03T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression background color vs Custom cell format</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-background-color-vs-Custom-cell-format/m-p/945936#M467143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the reason is that your expression on these TOTAL level returned no valid result. Probably you will need to wrap your expression into an aggr-function to get your desired result: &lt;A href="https://community.qlik.com/qlik-blogpost/2967"&gt;AGGR...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-background-color-vs-Custom-cell-format/m-p/945936#M467143</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-03T13:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression background color vs Custom cell format</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-background-color-vs-Custom-cell-format/m-p/945937#M467144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the hint.&lt;/P&gt;&lt;P&gt;I started a new expression to validate the proper AGGR nomenclature to obtain the desired effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With an AGGR on the three dimensions I am showing, I get a result for each line but blanks for totals.&lt;/P&gt;&lt;P&gt;So that's not working out for me right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 14:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-background-color-vs-Custom-cell-format/m-p/945937#M467144</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-12-03T14:01:38Z</dc:date>
    </item>
  </channel>
</rss>

