<?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 Line Chart with Color Condition (Variance TYvsLY) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Line-Chart-with-Color-Condition-Variance-TYvsLY/m-p/1203601#M22893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create this line chart here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139757_Capturar.PNG" style="height: 163px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;just explaining a bit more, this is a sales comparsion between &lt;STRONG&gt;Actual Year&lt;/STRONG&gt; and &lt;STRONG&gt;Last Year&lt;/STRONG&gt; (just months "&lt;SPAN style="text-decoration: underline;"&gt;Jan,Feb,Mar&lt;/SPAN&gt;" for both years) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the color in the area shows the variance TY vs LY, when the variance is negative it shows a red tone and if is positive it shows blue &lt;SPAN style="font-size: 10pt;"&gt;tone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the color expression that I was trying to do but it not worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;colormix2( &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={'$(=max(Year))'}&amp;gt;}quantity*price_unit)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;={'$(=max(&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;)-1)'}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;quantity*price_unit&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;-1&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;red(), // minus one color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;white(), // 0 color&lt;/P&gt;&lt;P&gt;blue() // plus one color&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: I am already using the Qlik Sense 3.1, this release looks like better to work with color conditions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 20:04:47 GMT</pubDate>
    <dc:creator>caiogil1</dc:creator>
    <dc:date>2016-10-05T20:04:47Z</dc:date>
    <item>
      <title>Line Chart with Color Condition (Variance TYvsLY)</title>
      <link>https://community.qlik.com/t5/App-Development/Line-Chart-with-Color-Condition-Variance-TYvsLY/m-p/1203601#M22893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create this line chart here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139757_Capturar.PNG" style="height: 163px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;just explaining a bit more, this is a sales comparsion between &lt;STRONG&gt;Actual Year&lt;/STRONG&gt; and &lt;STRONG&gt;Last Year&lt;/STRONG&gt; (just months "&lt;SPAN style="text-decoration: underline;"&gt;Jan,Feb,Mar&lt;/SPAN&gt;" for both years) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the color in the area shows the variance TY vs LY, when the variance is negative it shows a red tone and if is positive it shows blue &lt;SPAN style="font-size: 10pt;"&gt;tone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the color expression that I was trying to do but it not worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;colormix2( &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={'$(=max(Year))'}&amp;gt;}quantity*price_unit)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;={'$(=max(&lt;SPAN style="font-size: 13.3333px;"&gt;Year&lt;/SPAN&gt;)-1)'}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;quantity*price_unit&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;-1&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;red(), // minus one color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;white(), // 0 color&lt;/P&gt;&lt;P&gt;blue() // plus one color&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: I am already using the Qlik Sense 3.1, this release looks like better to work with color conditions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 20:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-Chart-with-Color-Condition-Variance-TYvsLY/m-p/1203601#M22893</guid>
      <dc:creator>caiogil1</dc:creator>
      <dc:date>2016-10-05T20:04:47Z</dc:date>
    </item>
  </channel>
</rss>

