<?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: Comparing two Columns in a the same Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196148#M878625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly.&amp;nbsp; Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2016 17:54:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-13T17:54:46Z</dc:date>
    <item>
      <title>Comparing two Columns in a the same Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196145#M878622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart with two columns of data both using the same Fieldname but existing in different states. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions are:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Chart 1]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;Fieldname&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Chart 2]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;Fieldname&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;I am trying to write a expression under the background color box that would compare the number in both columns and highlight them in yellow if the are different.&amp;nbsp; What I have written is below.&amp;nbsp; The expression is OK but it is not showing up as yellow where it is different.&amp;nbsp; Any idea on what is wrong in the expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Chart 1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Addressable Spend]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;lt;&amp;gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Chart 2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Addressable Spend]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;yellow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196145#M878622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two Columns in a the same Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196146#M878623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not just this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({[Chart 1]} Fieldname) &amp;lt;&amp;gt; Sum({[Chart 2]} Fieldname), Yellow())&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196146#M878623</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T17:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two Columns in a the same Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196147#M878624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably&lt;/P&gt;&lt;P&gt;if(Coumn(1)&amp;lt;&amp;gt;Column(2),Yellow()) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196147#M878624</guid>
      <dc:creator>rupamjyotidas</dc:creator>
      <dc:date>2016-10-13T17:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two Columns in a the same Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196148#M878625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly.&amp;nbsp; Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196148#M878625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T17:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two Columns in a the same Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196149#M878626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all... Happy to help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-Columns-in-a-the-same-Chart/m-p/1196149#M878626</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T17:57:56Z</dc:date>
    </item>
  </channel>
</rss>

