<?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: Color Expression by Year (If Statements) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392225#M814495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 16:59:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-11T16:59:15Z</dc:date>
    <item>
      <title>Color Expression by Year (If Statements)</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392222#M814492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create and If statement that allows me to use the color expression function to color by specific year. I have come close to a solution, but not as I'd like it to be. &lt;SPAN style="font-size: 13.3333px;"&gt; (color codes are just examples) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gets me a color for the first year, and all other years get the second. Its a start. &lt;/P&gt;&lt;P&gt;if([Service Year] = 2017, argb(255,1,149,189), argb(255,1,179,169))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I'd like to see is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF&lt;/SPAN&gt;([Service Year] = 2017, argb(255,1,149,189),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IF[Service Year] = '2016', argb(255,1,179,169)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF&lt;/SPAN&gt;([Service Year] = '2015', argb(255,40,39,171)),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Etc..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Has anyone tried something similar to this?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&lt;BR /&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/Color-Expression-by-Year-If-Statements/m-p/1392222#M814492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Color Expression by Year (If Statements)</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392223#M814493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try from your end and tell us how you are getting the combination of nested if statements &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 16:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392223#M814493</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-11T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Color Expression by Year (If Statements)</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392224#M814494</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([Service Year], 2017, 2016, 2015), ARGB(255,1,149,189), &lt;STRONG style="font-size: 13.3333px;"&gt;ARGB&lt;/STRONG&gt;(255,1,179,169), &lt;STRONG style="font-size: 13.3333px;"&gt;ARGB&lt;/STRONG&gt;(255,40,39,171))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 16:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392224#M814494</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T16:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Color Expression by Year (If Statements)</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392225#M814495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 16:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Expression-by-Year-If-Statements/m-p/1392225#M814495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-11T16:59:15Z</dc:date>
    </item>
  </channel>
</rss>

