<?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: Chart Background Color depending on date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Background-Color-depending-on-date/m-p/484417#M180946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl!&lt;/P&gt;&lt;P&gt;First time I use the ONLY aggregation function, it took me some tries but finally got there thanks to your hint &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Sep 2013 12:09:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-05T12:09:40Z</dc:date>
    <item>
      <title>Chart Background Color depending on date</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Background-Color-depending-on-date/m-p/484415#M180944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have a bar chart that give me data for the last 10 days (last day on the right). Last 10 days are selected thanks to set analysis (OK, it works)&lt;/P&gt;&lt;P&gt;I would like to have all the days pertaining to the same week as the last day to be in orange, values for other days in grey.&lt;/P&gt;&lt;P&gt;It works, no problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is that when I add the condition on the bar colors, my set analysis on 10 days is not taken in account and Qlikview displays a lot of days, not only the last 10 (see images below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on why I have this behavior? &lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without colors : 10 days thanks to set analysis&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Graph without colors.png" class="jive-image" src="/legacyfs/online/46225_Graph without colors.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Colors : lots of days but the last days are in orange because they belong to the same week&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Graph with colors.png" class="jive-image" src="/legacyfs/online/46226_Graph with colors.png" /&gt;&lt;/P&gt;&lt;P&gt;Formula used in Graph Properties &amp;gt; Expression &amp;gt; Background Color &amp;gt; Definition : &lt;/P&gt;&lt;P&gt;= if(Week(PeriodDate.Date)=Week($(vReportDate)), cOrangeStandard, cVeryLightGrey)&lt;/P&gt;&lt;P&gt;PeriodDate.Date is the date on the Y axis...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 08:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Background-Color-depending-on-date/m-p/484415#M180944</guid>
      <dc:creator />
      <dc:date>2013-09-05T08:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Background Color depending on date</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Background-Color-depending-on-date/m-p/484416#M180945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if(&lt;STRONG&gt; only ({&amp;lt;YourSetExpressionToLimitTheWeeks&amp;gt;}&lt;/STRONG&gt; Week(PeriodDate.Date)&lt;STRONG&gt;)&lt;/STRONG&gt;=Week($(vReportDate)), cOrangeStandard, cVeryLightGrey)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 09:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Background-Color-depending-on-date/m-p/484416#M180945</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-05T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Background Color depending on date</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Background-Color-depending-on-date/m-p/484417#M180946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl!&lt;/P&gt;&lt;P&gt;First time I use the ONLY aggregation function, it took me some tries but finally got there thanks to your hint &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 12:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Background-Color-depending-on-date/m-p/484417#M180946</guid>
      <dc:creator />
      <dc:date>2013-09-05T12:09:40Z</dc:date>
    </item>
  </channel>
</rss>

