<?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: Help with setting bar chart color based on year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025722#M346644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What this value of &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=$(vMaxSelectedYr)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;in a text object when you select only 2016? What is the expression in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxSelectedYr?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 19:21:00 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2016-02-12T19:21:00Z</dc:date>
    <item>
      <title>Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025718#M346640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a bar chart that we always want to display 3 years no matter what. If the user picks 2016, we want to show 2016, 2015, and 2014. We also want to have the colors defined. Everything works when either no year is selected, or if 3 years are selected. So if the user picks no year, we see 2016, 2015, and 2014 and the colors we want. If they pick 2016,2015, and 2014 we see all 3 years and the colors we want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when the user only picks one year, say 2016. We still see all 3 years, but the colors stop working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the formula for the always 3 years on the chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year) - 1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year) - 2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AdmBrokrCommBaseAmt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/1000&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Here is the formula for the colors. We are using this in the background color expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(Match(Year,$(vMaxSelectedYr),($(vMaxSelectedYr)-1),($(vMaxSelectedYr)-2)),RGB(201,187,23),RGB(45,64,199),RGB(34,235,2))&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could either provide us with a solution, or help us understand why it doesn't work when only 1 year is selected, that would be great. thanks!&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 16:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025718#M346640</guid>
      <dc:creator />
      <dc:date>2016-02-12T16:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025719#M346641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {"&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(=Max(Year))"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, "&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(=Max(Year) - 1)"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, "&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(=Max(Year) - 2)"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;AdmBrokrCommBaseAmt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)/1000 &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 18:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025719#M346641</guid>
      <dc:creator />
      <dc:date>2016-02-12T18:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025720#M346642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this for color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Pick(Match(&lt;SPAN style="color: #ff0000;"&gt;Only({&amp;lt;Year&amp;gt;} Year)&lt;/SPAN&gt;, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;STRONG&gt;$(vMaxSelectedYr), ($(vMaxSelectedYr)-1), ($(vMaxSelectedYr)-2)), RGB(201,187,23), RGB(45,64,199), RGB(34,235,2)) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025720#M346642</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-12T19:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025721#M346643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this one : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0433ff;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;Only&lt;/SPAN&gt;({1}&lt;SPAN style="color: #941100;"&gt;Year&lt;/SPAN&gt;),&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,(&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;-1),(&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;-2)),&lt;SPAN style="color: #0433ff;"&gt;RGB&lt;/SPAN&gt;(201,187,23),&lt;SPAN style="color: #0433ff;"&gt;RGB&lt;/SPAN&gt;(45,64,199),&lt;SPAN style="color: #0433ff;"&gt;RGB&lt;/SPAN&gt;(34,235,2))&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025721#M346643</guid>
      <dc:creator>mambi</dc:creator>
      <dc:date>2016-02-12T19:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025722#M346644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What this value of &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=$(vMaxSelectedYr)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;in a text object when you select only 2016? What is the expression in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxSelectedYr?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025722#M346644</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-02-12T19:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025723#M346645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, it's working as we want it to now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's brief, can you explain what was happening with my expression and why yours works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025723#M346645</guid>
      <dc:creator />
      <dc:date>2016-02-12T19:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025724#M346646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you selected a Year, the year field within the match function was getting filtered to that specific year and you were not able to use it for the previous two years. When we use &lt;STRONG&gt;Only({&amp;lt;Year&amp;gt;} Year)&lt;/STRONG&gt; we stopped it from filtering based on a selection in Year field and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 21:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025724#M346646</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-12T21:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025725#M346647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I add another field to this expression? We have this as a bar chart with the Amount being split between New and Old. So for 2016 old might be red, new would be blue. The field name is Market&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-1), (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-2)), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(201,187,23), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(45,64,199), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(34,235,2)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 19:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025725#M346647</guid>
      <dc:creator />
      <dc:date>2016-02-16T19:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025726#M346648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am understanding this correctly, what happens if you print Market as your second dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 21:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025726#M346648</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-16T21:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025727#M346649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically I need to combine these two statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Market&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Market&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;), 'Secondary', 'New Issue'), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(201,187,23), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(45,64,199)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;), &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-family: 'Courier New'; font-size: 9pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-family: 'Courier New'; font-size: 9pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;-1), (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-family: 'Courier New'; font-size: 9pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;-2)), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(201,187,23), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(45,64,199), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(34,235,2))&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 21:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025727#M346649</guid>
      <dc:creator />
      <dc:date>2016-02-16T21:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025728#M346650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works, but only for current year of 2016. 2015 and 2014 are still 1 solid color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-1), (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vMaxSelectedYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-2)),&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Market&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Secondary', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(201,187,23), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;blue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())), &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Market&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Secondary', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(45,64,199), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;cyan&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())), &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Market&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Secondary', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(34,235,2),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Market&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'New Issue',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(100,200,210),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Green&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())))) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 21:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025728#M346650</guid>
      <dc:creator />
      <dc:date>2016-02-16T21:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025729#M346651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Match(Only({&amp;lt;Year&amp;gt;} Year), $(vMaxSelectedYr), ($(vMaxSelectedYr)-1), ($(vMaxSelectedYr)-2)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(If(&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Only({&amp;lt;Year&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;Market)&lt;/SPAN&gt; = 'Secondary', RGB(201,187,23), blue())), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(If(&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Only({&amp;lt;Year&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Market) &lt;/SPAN&gt;= 'Secondary', RGB(45,64,199), cyan())), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(If(&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Only({&amp;lt;Year&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Market) &lt;/SPAN&gt;= 'Secondary', RGB(34,235,2), If(&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Only({&amp;lt;Year&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Market) &lt;/SPAN&gt;= 'New Issue',RGB(100,200,210),Green()))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 21:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025729#M346651</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-16T21:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025730#M346652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm, thanks Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 21:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025730#M346652</guid>
      <dc:creator />
      <dc:date>2016-02-16T21:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting bar chart color based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025731#M346653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 21:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-setting-bar-chart-color-based-on-year/m-p/1025731#M346653</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-16T21:49:31Z</dc:date>
    </item>
  </channel>
</rss>

