<?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 Positive and Negative Bars in Linear Gauge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734523#M262996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to show positive values in Linear Gauge column as Green bars and negative values as Red (in opposite direction).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to represent a column in straight chart as Linear Gauge. &lt;/P&gt;&lt;P&gt;The expression is : Sum(YTD.Sales) - Sum(PYTD.Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using one segment in Gauge Properties with Min as 0 and Max as:&lt;BR /&gt;Max(all Aggr(Sum(YTD.Sales) - Sum(PYTD.Sales), Dimension1, Dimension2, Dimension3, Dimension4))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mode is "Fill to Value" and Style is "Line"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only get Green bars and blank for negative values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 19:03:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-18T19:03:06Z</dc:date>
    <item>
      <title>Positive and Negative Bars in Linear Gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734523#M262996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to show positive values in Linear Gauge column as Green bars and negative values as Red (in opposite direction).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to represent a column in straight chart as Linear Gauge. &lt;/P&gt;&lt;P&gt;The expression is : Sum(YTD.Sales) - Sum(PYTD.Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using one segment in Gauge Properties with Min as 0 and Max as:&lt;BR /&gt;Max(all Aggr(Sum(YTD.Sales) - Sum(PYTD.Sales), Dimension1, Dimension2, Dimension3, Dimension4))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mode is "Fill to Value" and Style is "Line"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only get Green bars and blank for negative values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734523#M262996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T19:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Positive and Negative Bars in Linear Gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734524#M262997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you want the negative values to show as negative numbers ( your min = 0) or as the absolute value of the negative number ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734524#M262997</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-18T19:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Positive and Negative Bars in Linear Gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734525#M262998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly, you try to show the difference between Sales YTD actual year and the same period in the previous year. If you calculate Sum(YTD.Sales) - Sum(PYTD.Sales) you will get an absolute value, not a percentage. This way you will need a range between&amp;nbsp; Sum(PYTD.Sales) * (-1) and Sum(YTD.Sales) for your gauge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you want to show the difference in red (negative values) and green (zero oder positive values), you will need two segments. The first segment (red) should start at sum(PYTD.Sales) * (-1) and the second segment (green) should start at value 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you have a sample file of the gauge you tried?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734525#M262998</guid>
      <dc:creator>danielblank</dc:creator>
      <dc:date>2014-09-18T19:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Positive and Negative Bars in Linear Gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734526#M262999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan - I want negative numbers to show as negative and not as absolute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 16:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734526#M262999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T16:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Positive and Negative Bars in Linear Gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734527#M263000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sorry for the delay - if you are still working on this can u post your QVW sample to review&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2014 01:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-and-Negative-Bars-in-Linear-Gauge/m-p/734527#M263000</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-27T01:12:13Z</dc:date>
    </item>
  </channel>
</rss>

