<?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 Color Condition with Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219025#M72088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Month(Start_Date) &amp;gt; Month(Addmonths(Today(),6)), RGB(200,0,0), RGB(0,200,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Dec 2010 13:17:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-09T13:17:30Z</dc:date>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219024#M72087</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 don't know how far off I am but I want to use the Background Color condition of a Dimension to display Red if the Salesman has worked at our company for less than six months and green if the Salesman has worked at the company for longer. What I have is:&lt;/P&gt;&lt;P&gt;if( Month(Start_Date) &amp;gt; MonthStart(Today(- 6)), RGB(200,0,0), RGB(0,200,0))&lt;/P&gt;&lt;P&gt;Please could someone assist me to fix the condition so that it displays the correct colors.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 13:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219024#M72087</guid>
      <dc:creator />
      <dc:date>2010-12-09T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219025#M72088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Month(Start_Date) &amp;gt; Month(Addmonths(Today(),6)), RGB(200,0,0), RGB(0,200,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 13:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219025#M72088</guid>
      <dc:creator />
      <dc:date>2010-12-09T13:17:30Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219026#M72089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use This&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;addmonths&lt;/B&gt;('2010-06-01',6)&amp;lt;&lt;B&gt;today&lt;/B&gt;(), RGB(200,0,0), RGB(0,200,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 13:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219026#M72089</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2010-12-09T13:20:15Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219027#M72090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shane,&lt;/P&gt;&lt;P&gt;Since dates are actually numeric values, you can add and substract them, so I'd use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Ceil(Num(Date(Today()) - Date(Start_Date)) / 30) &amp;lt; 6, RGB(200, 0, 0), RGB(0, 200, 0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 13:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219027#M72090</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-09T13:24:01Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219028#M72091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manesh and Bhaskar. &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt; Even I had the same requirement.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mandar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 13:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219028#M72091</guid>
      <dc:creator />
      <dc:date>2010-12-09T13:25:03Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219029#M72092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="ForumPostBody"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry use this , instead of my previous post&lt;/P&gt;&lt;P&gt;Use This&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;addmonths&lt;/B&gt;(Start_Date,6)&amp;lt;&lt;B&gt;today&lt;/B&gt;(), RGB(200,0,0), RGB(0,200,0))&lt;/P&gt;&lt;DIV style="clear:both;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 13:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219029#M72092</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2010-12-09T13:25:12Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219030#M72093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;Thanks for all the replies. The result I'm getting is still wrong though (See image below) showing white when they are 2006, 2007, 2008 and 2009. Any suggestions for why that could be? I'm pulling Start_Date from an Excel file (Attached)&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/3187.qv1.bmp"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/3187.qv1.bmp" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 13:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219030#M72093</guid>
      <dc:creator />
      <dc:date>2010-12-09T13:59:33Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219031#M72094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: bold"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;B&gt;Use This, if fail to work please send me ur application.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;addmonths&lt;/B&gt;(Start_Date,6)&amp;lt;&lt;B&gt;today&lt;/B&gt;(), RGB(0,200,0),, RGB(200,0,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 14:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219031#M72094</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2010-12-09T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219032#M72095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maneshkhot,&lt;/P&gt;&lt;P&gt;I've attached a copy. Thanks, I look forward to your response&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 15:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219032#M72095</guid>
      <dc:creator />
      <dc:date>2010-12-09T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219033#M72096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prueba creando en el Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paso:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Salesman,&lt;/P&gt;&lt;P&gt;addmonths(Start_Date,6) AS ff,&lt;/P&gt;&lt;P&gt;if(addmonths(Start_Date,6)&amp;lt;today(), RGB(0,200,0), RGB(200,0,0)) as V_Color&lt;/P&gt;&lt;P&gt;RESIDENT Invoices1;&lt;/P&gt;&lt;P&gt;Para la version 9 SR3, los colores en algunas lineas no se presentan, este es un problema de la tabla pivotante.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 16:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219033#M72096</guid>
      <dc:creator />
      <dc:date>2010-12-09T16:26:42Z</dc:date>
    </item>
    <item>
      <title>Color Condition with Months</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219034#M72097</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 go through the application , according to me u need to change the expression in Chart for counting.&lt;/P&gt;&lt;P&gt;use following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(COUNT(if(Salesman &amp;lt;&amp;gt; 'Other' and Salesman &amp;lt;&amp;gt; 'Auction' and Salesman &amp;lt;&amp;gt; 'Branch management' and Salesman &amp;lt;&amp;gt; 'Branch Manager',SMD_KEY))&amp;lt;1,'-',COUNT(if(Salesman &amp;lt;&amp;gt; 'Other' and Salesman &amp;lt;&amp;gt; 'Auction' and Salesman &amp;lt;&amp;gt; 'Branch management' and Salesman &amp;lt;&amp;gt; 'Branch Manager',SMD_KEY)))&lt;/P&gt;&lt;P&gt;Also attached the application which is showing correct value.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 03:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Condition-with-Months/m-p/219034#M72097</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2010-12-10T03:59:37Z</dc:date>
    </item>
  </channel>
</rss>

