<?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: Gauge Chart - problem with comparing values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-problem-with-comparing-values/m-p/1187569#M518914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a small qlikview document with some example data? That makes it easier to understand what you're trying to do and find a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 07:30:47 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-09-21T07:30:47Z</dc:date>
    <item>
      <title>Gauge Chart - problem with comparing values</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-problem-with-comparing-values/m-p/1187568#M518913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to display the difference between two value by using a gauge chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields "Alter Wert" and "Neuer Wert" which both represent a date:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137871_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt; &lt;/P&gt;&lt;P&gt;If the date in "Alter Wert" is further in the past than the date in "Neuer Wert" I would like the gauge chart to have the red light at the top shown , if the date in "Alter Wert" is newer the green light at the bottom is supposed to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/137872_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/137873_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/137874_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought I could maybe use variables, but can't figure it out by myself and could need some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 11:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-problem-with-comparing-values/m-p/1187568#M518913</guid>
      <dc:creator />
      <dc:date>2016-09-19T11:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge Chart - problem with comparing values</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-problem-with-comparing-values/m-p/1187569#M518914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a small qlikview document with some example data? That makes it easier to understand what you're trying to do and find a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 07:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-problem-with-comparing-values/m-p/1187569#M518914</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-09-21T07:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge Chart - problem with comparing values</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-problem-with-comparing-values/m-p/1187570#M518915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By now I nearly solved the problem myself with applying the following expression:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Alter Wert BELEG] &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Neuer Wert BELEG] &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),2,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Neuer Wert BELEG] &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Alter Wert BELEG] &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),1,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I still did not figure out is:&lt;/P&gt;&lt;P&gt;is it also possible to have the color changed when there is more than one value selected with different combinations of "Alter Wert" and&amp;nbsp; "Neuer Wert".&lt;/P&gt;&lt;P&gt;Example: Select "Geschäftsjahr=2016" - two values (BelegNr) possible, but none directly selected. Therefore, the gauge chart displays only gray. However, since one value is considered critical ("Alter Wert" smaller than "Neuer Wert") the red light would be required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I need to include the condition to have the red light shown whenever there is one or more values critical, even in combination with non-critical values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is somehow understandable.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 08:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-problem-with-comparing-values/m-p/1187570#M518915</guid>
      <dc:creator />
      <dc:date>2016-09-21T08:04:00Z</dc:date>
    </item>
  </channel>
</rss>

