<?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 Maximum value variables? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Maximum-value-variables/m-p/298503#M110708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set (containing number of passengers in a cab central) over 2010 en 2011 where the data over 2011 is filled up to march. I've defined three variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;HuidigeMaand = (&lt;SPAN style="color: #3300ff;"&gt;Max&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #a10000;"&gt;Jaar&lt;/SPAN&gt;={2011},&lt;SPAN style="color: #a10000;"&gt;[Aantal Ritten]&lt;/SPAN&gt;={'&amp;gt; 0'}&amp;gt;}&lt;SPAN style="color: #a10000;"&gt;Maand&lt;/SPAN&gt;)) // Maximum month until where the data is filled in 2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #3300ff;"&gt;&lt;SPAN style="color: #000000;"&gt;Pas11 =&lt;/SPAN&gt; sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({1&amp;lt;&lt;/SPAN&gt;RitType&lt;SPAN style="color: #000000;"&gt;={Telefonie},&lt;/SPAN&gt;Jaar&lt;SPAN style="color: #000000;"&gt;={2010},&lt;/SPAN&gt;Maand&lt;SPAN style="color: #000000;"&gt;={&lt;/SPAN&gt;"&amp;gt;0 &amp;lt;=$HuidigeMaand"&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;[Aantal Ritten]&lt;SPAN style="color: #000000;"&gt;)&amp;nbsp; // passengers 2010 until currentmonth&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #3300ff;"&gt;&lt;SPAN style="color: #000000;"&gt;Pas10 =&lt;/SPAN&gt; sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({1&amp;lt;&lt;/SPAN&gt;RitType&lt;SPAN style="color: #000000;"&gt;={Telefonie},&lt;/SPAN&gt;Jaar&lt;SPAN style="color: #000000;"&gt;={2011},&lt;/SPAN&gt;Maand&lt;SPAN style="color: #000000;"&gt;={&lt;/SPAN&gt;"&amp;gt;0 &amp;lt;=$HuidigeMaand"&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;[Aantal Ritten]&lt;SPAN style="color: #000000;"&gt;) // passengers 2011 until currentmonth&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;If I try to display both Pas11 and Pas10 in a textobject it won't show the value if it is above 1.000.000. Furthermore the variable Pas10 won't accept $(HuidigeMaand). So my two questions are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;1. Is there a maximum value variables can have or is it because I try to display them in a text box? (both seem odd to me)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;2. Why doesn't the third variable accept the first? (I thought this might has something to do with a conflict between the `Set' of the field 'Jaar')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Since I'm new to the QV scripting any tips on the scripting above are also more then welcome! Thanks in advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 14:58:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-13T14:58:11Z</dc:date>
    <item>
      <title>Maximum value variables?</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-value-variables/m-p/298503#M110708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set (containing number of passengers in a cab central) over 2010 en 2011 where the data over 2011 is filled up to march. I've defined three variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;HuidigeMaand = (&lt;SPAN style="color: #3300ff;"&gt;Max&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #a10000;"&gt;Jaar&lt;/SPAN&gt;={2011},&lt;SPAN style="color: #a10000;"&gt;[Aantal Ritten]&lt;/SPAN&gt;={'&amp;gt; 0'}&amp;gt;}&lt;SPAN style="color: #a10000;"&gt;Maand&lt;/SPAN&gt;)) // Maximum month until where the data is filled in 2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #3300ff;"&gt;&lt;SPAN style="color: #000000;"&gt;Pas11 =&lt;/SPAN&gt; sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({1&amp;lt;&lt;/SPAN&gt;RitType&lt;SPAN style="color: #000000;"&gt;={Telefonie},&lt;/SPAN&gt;Jaar&lt;SPAN style="color: #000000;"&gt;={2010},&lt;/SPAN&gt;Maand&lt;SPAN style="color: #000000;"&gt;={&lt;/SPAN&gt;"&amp;gt;0 &amp;lt;=$HuidigeMaand"&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;[Aantal Ritten]&lt;SPAN style="color: #000000;"&gt;)&amp;nbsp; // passengers 2010 until currentmonth&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #3300ff;"&gt;&lt;SPAN style="color: #000000;"&gt;Pas10 =&lt;/SPAN&gt; sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({1&amp;lt;&lt;/SPAN&gt;RitType&lt;SPAN style="color: #000000;"&gt;={Telefonie},&lt;/SPAN&gt;Jaar&lt;SPAN style="color: #000000;"&gt;={2011},&lt;/SPAN&gt;Maand&lt;SPAN style="color: #000000;"&gt;={&lt;/SPAN&gt;"&amp;gt;0 &amp;lt;=$HuidigeMaand"&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;[Aantal Ritten]&lt;SPAN style="color: #000000;"&gt;) // passengers 2011 until currentmonth&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;If I try to display both Pas11 and Pas10 in a textobject it won't show the value if it is above 1.000.000. Furthermore the variable Pas10 won't accept $(HuidigeMaand). So my two questions are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;1. Is there a maximum value variables can have or is it because I try to display them in a text box? (both seem odd to me)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;2. Why doesn't the third variable accept the first? (I thought this might has something to do with a conflict between the `Set' of the field 'Jaar')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Since I'm new to the QV scripting any tips on the scripting above are also more then welcome! Thanks in advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #a10000;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 14:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-value-variables/m-p/298503#M110708</guid>
      <dc:creator />
      <dc:date>2011-05-13T14:58:11Z</dc:date>
    </item>
  </channel>
</rss>

