<?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 Set chart backcolor based on MonthName function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151286#M29161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a chart with a dimension of Monthname(Date), I want to set the backcolor of an expression depending upon what month it is, however i cant work it out. I have used the following expression&lt;/P&gt;&lt;P&gt;if(MonthName(myDate) ='Oct 2007' Or MonthName(myDate) = 'Nov 2007' , LightRed),&lt;/P&gt;&lt;P&gt;Can anyone please advise, I take it its because 'Oct 2007' is being read as a string as opposed to the date but i'm not sure how to go about converting it into the correct date type.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2009 20:52:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-06T20:52:41Z</dc:date>
    <item>
      <title>Set chart backcolor based on MonthName function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151286#M29161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a chart with a dimension of Monthname(Date), I want to set the backcolor of an expression depending upon what month it is, however i cant work it out. I have used the following expression&lt;/P&gt;&lt;P&gt;if(MonthName(myDate) ='Oct 2007' Or MonthName(myDate) = 'Nov 2007' , LightRed),&lt;/P&gt;&lt;P&gt;Can anyone please advise, I take it its because 'Oct 2007' is being read as a string as opposed to the date but i'm not sure how to go about converting it into the correct date type.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 20:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151286#M29161</guid>
      <dc:creator />
      <dc:date>2009-08-06T20:52:41Z</dc:date>
    </item>
    <item>
      <title>Set chart backcolor based on MonthName function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151287#M29162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the colour-names are functions and need to end with () , thus your example should work with:&lt;/P&gt;&lt;P&gt;if(MonthName(myDate) ='Oct 2007' Or MonthName(myDate) = 'Nov 2007' , LightRed()),&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 03:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151287#M29162</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-08-07T03:07:52Z</dc:date>
    </item>
    <item>
      <title>Set chart backcolor based on MonthName function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151288#M29163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Sorry the missing brackets were a typo, it still doesn't work with the brackets, any ideas why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 17:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151288#M29163</guid>
      <dc:creator />
      <dc:date>2009-08-07T17:23:35Z</dc:date>
    </item>
    <item>
      <title>Set chart backcolor based on MonthName function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151289#M29164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi onlyone,&lt;/P&gt;&lt;P&gt;see the attached example. Is this kind of coloring what you want to have?&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 18:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-chart-backcolor-based-on-MonthName-function/m-p/151289#M29164</guid>
      <dc:creator />
      <dc:date>2009-08-07T18:18:39Z</dc:date>
    </item>
  </channel>
</rss>

