<?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  Based on InputBox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Based-on-InputBox/m-p/428161#M1152617</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;Maybe try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;=If(Region = 'NA', sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;Aspect&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;={'Actuals'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;[Total Value]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;)/[NA Target],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Region = 'ASIA', sum({$&amp;lt;Aspect = {'Actuals'}&amp;gt;} [Total Value])/[Asia Target],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(${&amp;lt;Aspect = {'Actuals'}&amp;gt;} [Total Value])/([NA Target] + [Asia Target])))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;-art&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 21:09:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-05T21:09:55Z</dc:date>
    <item>
      <title>Gauge Chart  Based on InputBox</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Based-on-InputBox/m-p/428160#M1152616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&amp;nbsp;&amp;nbsp; I need help with my current formula&amp;nbsp; on ,y gauge chart...&lt;/P&gt;&lt;P&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;Aspect&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Actuals'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/[NA Target] where NA target came from input box&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objectives are&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; If I select the&amp;nbsp; NA in region object, this will calculate the Total actuals in NA / NA Target&lt;/P&gt;&lt;P&gt;2.. If I select the Asia&amp;nbsp; in region object, this will calculate the Total actuals in Asia / Asia Target&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; If I select both NA and Asia, this will calculate the Total actuals in Asia&amp;nbsp; and NA / Asia Target + NA Target&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; The formula should work only Actuals under Aspects field...it should not work if I select other aspects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loopholes in my current formula :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-indent: -0.25in;"&gt;&lt;SPAN class="pasted-list-info"&gt;1.&amp;nbsp;&amp;nbsp; 1.&amp;nbsp; &lt;/SPAN&gt; If I select the Asia region, this will calculate the Total revenue for ASIA (when&amp;nbsp; I want NA) against NA&amp;nbsp; target&lt;/P&gt;&lt;P style="text-indent: -0.25in;"&gt;&lt;SPAN class="pasted-list-info"&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp; I &lt;/SPAN&gt; only want to&amp;nbsp; get the actuals in the aspect field and should not work in any other aspects.&amp;nbsp; Currently,&amp;nbsp; if I select other&amp;nbsp;&amp;nbsp; aspects (not actuals), this gives me another computation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I'm not sure if this will work for input boxes for this kind of statement But I really appreciate if you could help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG __jive_id="36858" class="jive-image-thumbnail jive-image" onclick="" alt="Inputbox..png" src="https://community.qlik.com/legacyfs/online/36858_Inputbox..png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 20:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Based-on-InputBox/m-p/428160#M1152616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-05T20:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge Chart  Based on InputBox</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Based-on-InputBox/m-p/428161#M1152617</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;Maybe try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;=If(Region = 'NA', sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;Aspect&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;={'Actuals'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;[Total Value]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;)/[NA Target],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Region = 'ASIA', sum({$&amp;lt;Aspect = {'Actuals'}&amp;gt;} [Total Value])/[Asia Target],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(${&amp;lt;Aspect = {'Actuals'}&amp;gt;} [Total Value])/([NA Target] + [Asia Target])))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;-art&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 21:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Based-on-InputBox/m-p/428161#M1152617</guid>
      <dc:creator />
      <dc:date>2013-04-05T21:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge Chart  Based on InputBox</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Based-on-InputBox/m-p/428162#M1152619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Art...just need&amp;nbsp; to fix a&amp;nbsp; slight typo on&lt;SPAN style="background: white; color: #737373; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 8pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&amp;nbsp;&amp;nbsp; the last statement&amp;nbsp; &lt;SPAN style="background: white; color: #737373; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 8pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&amp;nbsp; Sum(&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;${&amp;lt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;Aspect = {'Actuals'}&amp;gt;} [Total Value])/([NA Target] + [Asia Target])))&amp;nbsp;&amp;nbsp; and it works perfectly...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; sans-serif&amp;amp;quot: ; Arial&amp;amp;quot: ; ,&amp;amp;quot: ; color: #737373; background: white; font-size: 8pt; mso-ansi-language: EN-US; font-family: &amp;amp;quot; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri;"&gt;Thanks you, again&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 22:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Based-on-InputBox/m-p/428162#M1152619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-05T22:34:12Z</dc:date>
    </item>
  </channel>
</rss>

