<?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: a dynamic colour in a line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662992#M241541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sample data or sample apps would be helpful to give you correct answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 14:07:58 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-10-20T14:07:58Z</dc:date>
    <item>
      <title>a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662987#M241536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! Can you tell me please, what am doing rong? I wanted the line to be blue if the debt is &amp;gt;0 and red if &amp;lt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ColorMix1(if(Sum(debt)&amp;gt;=0,0,1),LightBlue(),red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 13:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662987#M241536</guid>
      <dc:creator />
      <dc:date>2014-10-20T13:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662988#M241537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Presentation Tab&lt;/P&gt;&lt;P&gt;Click on + sign on your expression&lt;/P&gt;&lt;P&gt;Write below in Background color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(SUM(debt)&amp;gt;0,Blue(),Red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 13:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662988#M241537</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-20T13:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662989#M241538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this formula performed on the dimension on the expression ?&amp;nbsp; For dimensions, you may need to aggregate by date using aggr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also consider a simpler formula &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(Sum(debt)&amp;gt;=0,LightBlue(),red())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 13:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662989#M241538</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-20T13:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662990#M241539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;performed&amp;nbsp; on the expression, the colour af background .. but it works strange.. the colour is changed not by passing nul...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662990#M241539</guid>
      <dc:creator />
      <dc:date>2014-10-20T14:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662991#M241540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish, the problem is that i did that way, but it doesnt work correctly=(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662991#M241540</guid>
      <dc:creator />
      <dc:date>2014-10-20T14:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662992#M241541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sample data or sample apps would be helpful to give you correct answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662992#M241541</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-20T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662993#M241542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your numbers in the data model cumulative totals ?&amp;nbsp; Is the expression formula also sum(Sales) or something different ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662993#M241542</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-20T14:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662994#M241543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; cumulative totals&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; the expression formula is also sum(debt) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662994#M241543</guid>
      <dc:creator />
      <dc:date>2014-10-20T14:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662995#M241544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to sum up all preceding values as well then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Consider replacing Sum(Debt) with the following that would aggregate all previous values.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;rangesum(above(Sum([debt]),0,rowno()))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662995#M241544</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-20T14:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662996#M241545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i didn't really undestand , if i should put it in the expression, or in the backround colour as well?&lt;/P&gt;&lt;P&gt;Anyway, understood thats its not the best way to show debts, bars are more effective.. and though in a bar chart it clear, whats below zero, and whats above, its still interesting to make different colours..&lt;/P&gt;&lt;P&gt;Could you kindly look at my app, please? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 13:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662996#M241545</guid>
      <dc:creator />
      <dc:date>2014-10-21T13:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662997#M241546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the rangesum(above()) expression in the background color to handle expressions where you are using 'full accumulation'.&amp;nbsp; You can also use the rangesum(above()) expression in lieu of the sum( field) with full accumulation in the expression formula as well. Your choice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached example, i used the latter and in the background color. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if its accumulating and coloring as you want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/69387_Capture.PNG.png" style="width: 620px; height: 228px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 13:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662997#M241546</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-21T13:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: a dynamic colour in a line chart</title>
      <link>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662998#M241547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/jpe"&gt;jpe&lt;/A&gt; , thanks!! thats what i need!! I&amp;nbsp; would be indescribably gratefull, if you look at my other question abut same app..&lt;A href="https://community.qlik.com/thread/138973"&gt;calculate the age of debt, fifo payment&lt;/A&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank a lot!!!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 13:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/a-dynamic-colour-in-a-line-chart/m-p/662998#M241547</guid>
      <dc:creator />
      <dc:date>2014-10-21T13:46:45Z</dc:date>
    </item>
  </channel>
</rss>

