<?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: Auto Scale for Gauge is possible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388880#M145138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, its possible&lt;/P&gt;&lt;P&gt;Just type an expression that you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Sep 2012 18:18:02 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2012-09-09T18:18:02Z</dc:date>
    <item>
      <title>Auto Scale for Gauge is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388879#M145137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use a Gauge for "Revenue Status"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the beginning I set the Gauge Scale to (min: -100&amp;nbsp; between max : 100)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Status 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2012 value "10.000 US$" and&lt;/P&gt;&lt;P&gt;2013 value "20.000 US$ and&amp;nbsp; (what if)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart is OK.. It indicates 100%...... But&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When Status 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2012 value "10.000 US$" and&lt;/P&gt;&lt;P&gt;2013 value "30.000 US$ and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart indicates 100% but it istn correct as you know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;İf I set the Gauge Scale to&amp;nbsp; (min: -1000&amp;nbsp; between max : 1000) then needle can bu display the right point but too small area for other status...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;İs there any automatic Scaling method for (Min, max valuee) for calculated 2013 projection...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 14:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388879#M145137</guid>
      <dc:creator />
      <dc:date>2012-09-09T14:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Scale for Gauge is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388880#M145138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, its possible&lt;/P&gt;&lt;P&gt;Just type an expression that you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 18:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388880#M145138</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-09T18:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Scale for Gauge is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388881#M145139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with this please... I am new user of QV..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the sample expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 20:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388881#M145139</guid>
      <dc:creator />
      <dc:date>2012-09-09T20:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Scale for Gauge is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388882#M145140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, for maximum scale:&lt;/P&gt;&lt;P&gt;=Max(Status)*1,1&lt;/P&gt;&lt;P&gt;and for minimum&lt;/P&gt;&lt;P&gt;=Min(Status)*0,9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed that your field is named Status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 04:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388882#M145140</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-10T04:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Scale for Gauge is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388883#M145141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear whiteline...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your answer seems right if i use one filed which named "Status" ... for expiression ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my 2012 and 2013 values are comes from diffrent expiression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For examle :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2012 revenue is ... : sum(qty*price1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2013 revenue is ... : sum(qty*price2*R)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried for min-max scale of gauge according your answer :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Min .....: =Min(sum(qty*price1))*0,9&lt;/P&gt;&lt;P&gt;For Max.....: =Max(sum(qty*price2*R))*1,1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doest work properly...I 've got just "0" time to time "bad min*max value"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your idea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 19:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388883#M145141</guid>
      <dc:creator />
      <dc:date>2012-09-10T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Scale for Gauge is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388884#M145142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Whiteline...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you your answer... its OK i checked my expression and saw a forgatton "(" sign... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I removed min max commands from your answer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like :&lt;/P&gt;&lt;P&gt;Min value in Presentation Tab&amp;nbsp; :&lt;SPAN style="font-size: 18pt;"&gt;&lt;STRONG&gt; -&lt;/STRONG&gt;&lt;/SPAN&gt;Sum(....)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on yhe front of expression is "-" &lt;/P&gt;&lt;P&gt;Max value in Presentation Tab :&amp;nbsp;&amp;nbsp; Sum (...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your answer is working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 19:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388884#M145142</guid>
      <dc:creator />
      <dc:date>2012-09-10T19:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Scale for Gauge is possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388885#M145143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi northbridge.&lt;/P&gt;&lt;P&gt;It's hard to make something useful by bruteforcing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Ta make this expression work&lt;/P&gt;&lt;P&gt;=Min(sum(qty*price1))*0,9&lt;/P&gt;&lt;P&gt;you should explain QlikView how to eveluate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use it in Chart you have some &lt;SPAN style="text-decoration: underline;"&gt;dimensions&lt;/SPAN&gt;, so that =qty*price1 can be calculcated as there is only one qty and only one price for each dimension value. And so on with Sum and Min.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use expression in Gauge Min/Max there are no dimensions and it's calculated on a whole set of your data. There are a lot of qty's and price1's, so even =qty*price1 gives null().&lt;/P&gt;&lt;P&gt;To make it calculated you should explain how to do it.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;=Min(&lt;STRONG&gt;aggr(&lt;/STRONG&gt;sum(qty*price1), &lt;STRONG&gt;[ProductID])&lt;/STRONG&gt;)*0,9&lt;/P&gt;&lt;P&gt;I assumed that we have just ProductID field and for each there are qty and price1.&lt;/P&gt;&lt;P&gt;So I ask QV first calculate a sum(qty*price1) for each product and then find minimum from the array of that summs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 05:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-Scale-for-Gauge-is-possible/m-p/388885#M145143</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-11T05:01:36Z</dc:date>
    </item>
  </channel>
</rss>

