<?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 Max Block Size in Block Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Block-Size-in-Block-Chart/m-p/281469#M104683</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;I have a block Chart and I have the second expression shown as "Text as Pop-up". &lt;/P&gt;&lt;P&gt;For that expression, I need the size of the bigger block in this chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression for the size of the block is this:&lt;/P&gt;&lt;P&gt;if(ID_Medida = '1', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Un])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '2', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Kg])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '3', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Custo Total Contábil])/1000)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to use&lt;/P&gt;&lt;P&gt;RangeMax(&lt;/P&gt;&lt;P&gt;if(ID_Medida = '1', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Un])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '2', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Kg])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '3', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Custo Total Contábil])/1000)))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the second expression, but that have not returned the size of the bigger block, it returned only the size of the block itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I obtain the max value, so I can use it in all the blocks, for the second expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2011 19:43:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-06T19:43:44Z</dc:date>
    <item>
      <title>Max Block Size in Block Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Block-Size-in-Block-Chart/m-p/281469#M104683</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;I have a block Chart and I have the second expression shown as "Text as Pop-up". &lt;/P&gt;&lt;P&gt;For that expression, I need the size of the bigger block in this chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression for the size of the block is this:&lt;/P&gt;&lt;P&gt;if(ID_Medida = '1', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Un])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '2', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Kg])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '3', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Custo Total Contábil])/1000)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to use&lt;/P&gt;&lt;P&gt;RangeMax(&lt;/P&gt;&lt;P&gt;if(ID_Medida = '1', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Un])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '2', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Kg])/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '3', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Custo Total Contábil])/1000)))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the second expression, but that have not returned the size of the bigger block, it returned only the size of the block itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I obtain the max value, so I can use it in all the blocks, for the second expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 19:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Block-Size-in-Block-Chart/m-p/281469#M104683</guid>
      <dc:creator />
      <dc:date>2011-05-06T19:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Max Block Size in Block Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Block-Size-in-Block-Chart/m-p/281470#M104684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want the size of the largest block in your whole chart?&amp;nbsp; The expression will depend on your dimensions.&amp;nbsp; For the sake of argument, let's say you have one dimension, "Customer".&amp;nbsp; The maximum block size is then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;max(aggr(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(ID_Medida = '1', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Un])/1000,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(ID_Medida = '2', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Kg])/1000,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(ID_Medida = '3', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Custo Total Contábil])/1000)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Customer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though you might need to repeat the set analysis expression.&amp;nbsp; I can't remember:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;max({&amp;lt;Giro1 = {'1'}&amp;gt;} aggr(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(ID_Medida = '1', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Un])/1000,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(ID_Medida = '2', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Estoque Kg])/1000,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(ID_Medida = '3', Sum({&amp;lt;Giro1 = {'1'}&amp;gt;}[Custo Total Contábil])/1000)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Customer)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 20:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Block-Size-in-Block-Chart/m-p/281470#M104684</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-06T20:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Max Block Size in Block Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Block-Size-in-Block-Chart/m-p/281471#M104685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, it works, but in another graph I have some other problem with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the expression:&lt;/P&gt;&lt;P&gt;=if(ID_Medida = '1', Max(Aggr(Sum(if(AnoMes &amp;gt; ValorPeriodoLimite, [Estoque Un])), AnoMes))/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '2', Max(Aggr(Sum(if(AnoMes &amp;gt; ValorPeriodoLimite, [Estoque Kg])), AnoMes))/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '3', Max(Aggr(Sum(if(AnoMes &amp;gt; ValorPeriodoLimite,[Custo Total Contábil])), AnoMes))/1000)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the Max Value, but with :&lt;/P&gt;&lt;P&gt;=if(ID_Medida = '1', Min(Aggr(Sum(if(AnoMes &amp;gt; ValorPeriodoLimite, [Estoque Un])), AnoMes))/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '2', Min(Aggr(Sum(if(AnoMes &amp;gt; ValorPeriodoLimite, [Estoque Kg])), AnoMes))/1000,&lt;/P&gt;&lt;P&gt; if(ID_Medida = '3', Min(Aggr(Sum(if(AnoMes &amp;gt; ValorPeriodoLimite,[Custo Total Contábil])), AnoMes))/1000)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I aways get zero as minimum (I know that the true minimum is not zero).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ValorPeriodoLimite is an variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me how to solve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 18:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Block-Size-in-Block-Chart/m-p/281471#M104685</guid>
      <dc:creator />
      <dc:date>2011-05-09T18:42:12Z</dc:date>
    </item>
  </channel>
</rss>

