<?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 Asign Max Number [1-100] throught Marco in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152848#M30113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If i understood your question properly, below is the solution for your question.&lt;/P&gt;&lt;P&gt;Creat 4 variables and assign them to input box.&lt;/P&gt;&lt;P&gt;In Inputbox under "Constraints Tab" --&amp;gt; "Settings for Selected Varaiable" input this following expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;/H4&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;(if(Col1 = 'A',Col2&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And to check the input box behaviuor , change the value at back end and press reload button to get the new values in input box.&lt;/P&gt;&lt;P&gt;Check the attached application&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;- Peterson&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2010 07:37:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-18T07:37:32Z</dc:date>
    <item>
      <title>Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152840#M30105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to asign value of Max Number [1-100] throught marco is that possible, if yes please give me example code and&lt;/P&gt;&lt;P&gt;Max Number [1-100] is found in chart properties- in General Tab choose Striaght Table and then Presentation Tab.&lt;/P&gt;&lt;P&gt;I have API example application but i didnt found above mention problem, if any detail API tutorial pdf guide also send to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 10:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152840#M30105</guid>
      <dc:creator />
      <dc:date>2010-05-17T10:50:57Z</dc:date>
    </item>
    <item>
      <title>Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152841#M30106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can create a variable as "NoOfBars". Right Click on the Sheet; Go to Properties--&amp;gt; Add input box; move the Variable("NoOfBars") to your right. Then Right Click on the chart--&amp;gt; to the Presentation tab;Click on the small button on right of the Max Number and enter the below code;&lt;/P&gt;&lt;P&gt;=$(NoOfBars)&lt;/P&gt;&lt;P&gt;then whatever no entered in the input box ; will be the no of bars displayed in the chart.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 10:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152841#M30106</guid>
      <dc:creator />
      <dc:date>2010-05-17T10:56:10Z</dc:date>
    </item>
    <item>
      <title>Re. :Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152842#M30107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Extract from the APIGuide :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;set chart = ActiveDocument.Activesheet.CreateStraightTable&lt;BR /&gt;chart.AddDimension "ProductType"&lt;BR /&gt;chart.AddExpression "sum(Amount)"&lt;BR /&gt;set cp = chart.GetProperties&lt;BR /&gt;cp.TableProperties.MaxNumberShown = 25&lt;BR /&gt;chart.SetProperties cp&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 11:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152842#M30107</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-17T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152843#M30108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou very much, I did.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 11:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152843#M30108</guid>
      <dc:creator />
      <dc:date>2010-05-17T11:09:01Z</dc:date>
    </item>
    <item>
      <title>Re. :Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152844#M30109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou very much, Dear Martin do you have any pdf regarding API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 11:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152844#M30109</guid>
      <dc:creator />
      <dc:date>2010-05-17T11:11:37Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152845#M30110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have got an application in your installation folder. By default :&lt;/P&gt;&lt;P&gt;C:/Program Files/QlikView/Documentation/API guide.qvw&lt;/P&gt;&lt;P&gt;If you have'nt got it, tell me, i'll send to you &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 13:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152845#M30110</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-17T13:39:32Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152846#M30111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks dear I have, I want more if any in pdf format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 05:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152846#M30111</guid>
      <dc:creator />
      <dc:date>2010-05-18T05:28:21Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152847#M30112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Martin, can u guide me regarding below problem:&lt;/P&gt;&lt;P&gt;for example I have a text file name abc.txt in root directory or where else, which has two columns and four rows, data is given below:&lt;/P&gt;&lt;P&gt;Col1 Col2&lt;/P&gt;&lt;P&gt;A 4&lt;/P&gt;&lt;P&gt;B 5&lt;/P&gt;&lt;P&gt;C 6&lt;/P&gt;&lt;P&gt;D 7&lt;/P&gt;&lt;P&gt;====================================&lt;/P&gt;&lt;P&gt;and in application I have four input box name A, B, C and D, now I want when I press the macro button&lt;/P&gt;&lt;P&gt;then its read abc.txt file and put the values in input boxes according to A,B,C &amp;amp; D, is that possible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 05:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152847#M30112</guid>
      <dc:creator />
      <dc:date>2010-05-18T05:37:12Z</dc:date>
    </item>
    <item>
      <title>Asign Max Number [1-100] throught Marco</title>
      <link>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152848#M30113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If i understood your question properly, below is the solution for your question.&lt;/P&gt;&lt;P&gt;Creat 4 variables and assign them to input box.&lt;/P&gt;&lt;P&gt;In Inputbox under "Constraints Tab" --&amp;gt; "Settings for Selected Varaiable" input this following expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;/H4&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;(if(Col1 = 'A',Col2&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And to check the input box behaviuor , change the value at back end and press reload button to get the new values in input box.&lt;/P&gt;&lt;P&gt;Check the attached application&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;- Peterson&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 07:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asign-Max-Number-1-100-throught-Marco/m-p/152848#M30113</guid>
      <dc:creator />
      <dc:date>2010-05-18T07:37:32Z</dc:date>
    </item>
  </channel>
</rss>

