<?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: If expression not color coding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255045#M396703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I removed the = sign in the vPrev4MonthCount &amp;amp; vPrev3MonthCount Variables Overview, I get the &lt;EM&gt;"Error in set modifier ad hoc elements list:',' or ')' expected.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removing the $ from the expressions does not correct the BACKGROUND COLOR issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 17:43:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-15T17:43:35Z</dc:date>
    <item>
      <title>If expression not color coding</title>
      <link>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255043#M396701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 4 Variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;vPrevious4Month &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Provides the Month -4 to the current month(07 - 2016)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=Date(addmonths(today(),-4), 'MM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;vPrevious3Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Provides the Month -3 to the current month&lt;SPAN style="font-size: 13.3333px;"&gt;(08 - 2016)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=Date(addmonths(today(),-3), 'MM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;vPrev4MonthCount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Provides the count of [Incident Identifier] for 4 months prior to current month&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=count(DISTINCT {$&amp;lt;[Ticket Created Month]={"$(vPrevious4Month)"}&amp;gt;}[Incident Identifier])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;vPrev3MonthCount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Provides the count of [Incident Identifier] for 3 months prior to current month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=count(DISTINCT {$&amp;lt;[Ticket Created Month]={"$(vPrevious4Month)"}&amp;gt;}[Incident Identifier])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to BACKGROUND COLOR based on if &lt;STRONG style="font-size: 13.3333px;"&gt;vPrev4MonthCount&lt;/STRONG&gt; is greater or equal to &lt;STRONG style="font-size: 13.3333px;"&gt;vPrev3MonthCount&lt;/STRONG&gt;.&amp;nbsp; The below expression works when a specific "&lt;EM&gt;Application Name&lt;/EM&gt;" is selected, but does&lt;/P&gt;&lt;P&gt;not work if nothing is selected.&amp;nbsp; I need it to BACKGROUND COLOR without an "&lt;EM&gt;Application Name&lt;/EM&gt;" being selected&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=if(($(vPrev4MonthCount)&amp;gt;=$(vPrev3MonthCount)),Green(),Red())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Working when Application Name selected:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture1.png" class="jive-image image-3" height="94" src="https://community.qlik.com/legacyfs/online/143943_Picture1.png" style="height: 94.6355px; width: 462px;" width="462" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Not working when Application Name not selected:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture2.png" class="image-4 jive-image" height="115" src="https://community.qlik.com/legacyfs/online/143944_Picture2.png" style="height: 115.003px; width: 463px;" width="463" /&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on what I should try?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255043#M396701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-15T17:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: If expression not color coding</title>
      <link>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255044#M396702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an equal sign when you declare your variable in the variable overview? Try to remove it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can also try the use of variable without the dollar sign expansion&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(vPrev4MonthCount &amp;gt;= vPrev3MonthCount, Green(), Red())&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255044#M396702</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-15T17:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: If expression not color coding</title>
      <link>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255045#M396703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I removed the = sign in the vPrev4MonthCount &amp;amp; vPrev3MonthCount Variables Overview, I get the &lt;EM&gt;"Error in set modifier ad hoc elements list:',' or ')' expected.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removing the $ from the expressions does not correct the BACKGROUND COLOR issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255045#M396703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-15T17:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: If expression not color coding</title>
      <link>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255046#M396704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to provide a sample to look at the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-expression-not-color-coding/m-p/1255046#M396704</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-15T17:45:04Z</dc:date>
    </item>
  </channel>
</rss>

