<?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 Bar colors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217653#M70839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I gave you the wrong address. This is the right one:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.asciitable.com/"&gt;http://www.asciitable.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2010 08:00:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-21T08:00:10Z</dc:date>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217643#M70829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikView users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for the definition, that will allow me to show recent 12 bars in different color that rest of the bars. I know I can define color, after clicking "cross" next to my expression, but I have no idea what I should put there. Anybody knows?&lt;/P&gt;&lt;P&gt;Maybe another idea- Could I use bar offset to show recent 12 months?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Beata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 10:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217643#M70829</guid>
      <dc:creator />
      <dc:date>2010-01-20T10:13:27Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217644#M70830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I'm using:&lt;/P&gt;&lt;P&gt;if(Max (CalendarMonth, -12),LightGreen()) but it turns all bars green;(&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0820.Barcolour.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0820.Barcolour.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 10:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217644#M70830</guid>
      <dc:creator />
      <dc:date>2010-01-20T10:45:38Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217645#M70831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try this, not tested but should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=If(CalendarMonth &amp;lt; (max(CalendarMonth)-12),LightGreen(), LightRed())&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Should Color the first 12 Green and all the Others Red, cahnge Colors to your needs &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; (I prefeer Using the rgb() function becasue you're more flexible!)&lt;/P&gt;&lt;P&gt;Edit:&lt;BR /&gt;Here a suggestion for Baroffset (looks nice in Combination with the Colors)&lt;/P&gt;&lt;P&gt;Just paste in the "Baroffset" Part:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=If(CalendarMonth &amp;lt; (max(CalendarMonth)-12),1,0)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Greets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217645#M70831</guid>
      <dc:creator />
      <dc:date>2010-01-20T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217646#M70832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I accidantly suggested your post as answer, just ignore that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217646#M70832</guid>
      <dc:creator />
      <dc:date>2010-01-20T11:11:20Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217647#M70833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the same place (by clicking "cross" next to the expression -&amp;gt; Background Color) try to write this:&lt;/P&gt;&lt;P&gt;IF(Date&amp;gt;$(=chr(39)&amp;amp;addmonths(max(Date),-12)&amp;amp;chr(39)),lightgreen(),blue()).&lt;/P&gt;&lt;P&gt;Instead of my "Date" field use yours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217647#M70833</guid>
      <dc:creator />
      <dc:date>2010-01-20T11:17:35Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217648#M70834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work fine for you:&lt;/P&gt;&lt;P&gt;IF(makedate(CalendarYear,CalendarMonth)&amp;gt;$(=chr(39)&amp;amp;addmonths(max(makedate(CalendarYear,CalendarMonth)),-12)&amp;amp;chr(39)),lightgreen(),blue())&lt;/P&gt;&lt;P&gt;Instead of "Date" field i wrote "makedate(CalendarYear,CalendarMonth)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217648#M70834</guid>
      <dc:creator />
      <dc:date>2010-01-20T11:35:02Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217649#M70835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jusitia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't work - everything turns to red. Fortunately expression suggested by Milda works perfectly. Could you elaborate more on bar offset option? Do you have another examples? Thank you very much!&lt;/P&gt;&lt;P&gt;greetings,&lt;/P&gt;&lt;P&gt;Beata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 16:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217649#M70835</guid>
      <dc:creator />
      <dc:date>2010-01-20T16:14:14Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217650#M70836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Milda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works great! Could you tell me more what chr(39) means? I think I saw it somewhere and I suppose it would be good if I can use it alone;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Grtz,&lt;/P&gt;&lt;P&gt;Beata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 16:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217650#M70836</guid>
      <dc:creator />
      <dc:date>2010-01-20T16:16:05Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217651#M70837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry for that. I forgot to mention that this is just the basic Idea how it works, Milda did a great Job coding it right for your case! Now you can use this Statement for the bar offset as well. (I try to make this one correct)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;IF(makedate(CalendarYear,CalendarMonth)&amp;gt;$(=chr(39)&amp;amp;addmonths(max(makedate(CalendarYear,CalendarMonth)),-12)&amp;amp;chr(39)),1,0)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What I've done is simply replacing the colors with 1 and 0 (1 for Offset and 0 for no Offset).&lt;/P&gt;&lt;P&gt;One Tip from me: Offset doesnt look great and also decreases the charts readability, I suggest using the "Show Value" 2 lines below "Bar offset". The statement is the same as above!&lt;/P&gt;&lt;P&gt;Edit: Please let me know if "Show vale" and/or "bar offset" worked and give Milda the "Verified Answer"&lt;/P&gt;&lt;P&gt;Greets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 16:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217651#M70837</guid>
      <dc:creator />
      <dc:date>2010-01-20T16:49:02Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217652#M70838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Beata,&lt;/P&gt;&lt;P&gt;function chr() is used for making some symbols. In this case chr(39) means &lt;STRONG&gt;'&lt;/STRONG&gt; (quates).&lt;/P&gt;&lt;P&gt;All symbols with their codes you can find on &lt;A href="http://www.LookupTables.com"&gt;www.LookupTables.com&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 07:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217652#M70838</guid>
      <dc:creator />
      <dc:date>2010-01-21T07:51:58Z</dc:date>
    </item>
    <item>
      <title>Bar colors</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217653#M70839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I gave you the wrong address. This is the right one:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.asciitable.com/"&gt;http://www.asciitable.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 08:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-colors/m-p/217653#M70839</guid>
      <dc:creator />
      <dc:date>2010-01-21T08:00:10Z</dc:date>
    </item>
  </channel>
</rss>

