<?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: Change graph based on several expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-graph-based-on-several-expressions/m-p/1202535#M462251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jes, thanks Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 10:50:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-05T10:50:18Z</dc:date>
    <item>
      <title>Change graph based on several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Change-graph-based-on-several-expressions/m-p/1202533#M462249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; CREATED_WEEK, COUNT &lt;BR /&gt; 40, 12 &lt;BR /&gt; 39, 14&lt;BR /&gt; 38, 16&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have now created a bar graph with the dimension "CREATED_WEEK" and the following expressions:&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;[CREATED_WEEK2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {38}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[COUNT]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&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;[CREATED_WEEK2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {39}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[COUNT]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&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;[CREATED_WEEK2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {40}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[COUNT]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all works fine and gives my the following (see sample attachment). However I have certain issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I don't like the colours. Is there a way to change the colours for the different expressions? I tried to change the background colour but couldn't find the option to change the colour. Preferably I would like to highlight the current week and make the others grey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- My x-labels are not aligned with the graph. Is there a way to easily align them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="js-dropPosition" src="https://community.qlik.com/7.0.3.5dfcca9/images/tiny_mce3/themes/advanced/skins/default/img/dropPosition.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 09:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-graph-based-on-several-expressions/m-p/1202533#M462249</guid>
      <dc:creator />
      <dc:date>2016-10-05T09:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change graph based on several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Change-graph-based-on-several-expressions/m-p/1202534#M462250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the goal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="139684" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139684_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CREATED_WEEK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum([COUNT])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background Color Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(CREATED_WEEK = Max(TOTAL CREATED_WEEK), RGB(187,237,0), LightGray())&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 09:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-graph-based-on-several-expressions/m-p/1202534#M462250</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T09:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change graph based on several expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Change-graph-based-on-several-expressions/m-p/1202535#M462251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jes, thanks Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 10:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-graph-based-on-several-expressions/m-p/1202535#M462251</guid>
      <dc:creator />
      <dc:date>2016-10-05T10:50:18Z</dc:date>
    </item>
  </channel>
</rss>

