<?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: Loop through chart(straight table) and perform calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721607#M259084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can loop now through the fields perform calculations.&lt;/P&gt;&lt;P&gt;I also added a input field that references to rownumber and i can edit that input fields but i can imput in the field only numeric values. &lt;/P&gt;&lt;P&gt;Anybbody knows how to input a string value into inputfield?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 12:54:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-23T12:54:29Z</dc:date>
    <item>
      <title>Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721606#M259083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I have a kind of unusual task for me. I need to loop through chart values and asign records to specific flag according to calculation results. Here is my chart that i need to make calculations:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="profit.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62824_profit.png" /&gt;&lt;/P&gt;&lt;P&gt;What i need to do now is to sum the entire colum Profit and dive it by 3. This is ok i can aproach it.&lt;/P&gt;&lt;P&gt;when io sum and divide by 3 i get 1 066 491/3=355 497.&lt;/P&gt;&lt;P&gt;What i have to doo now is to start looping from the first record(records are sorted by largest to smallest) and start summing until the sum of summed records is &amp;gt;= to 355 497(the number i got when divided the whole sum). &lt;/P&gt;&lt;P&gt;So in this case Salesman1, Salesman2, Salesman 3 fulfill my condition and i have to mark them as a flag A.&lt;/P&gt;&lt;P&gt;Then when i have Found A records already i need to continue where i stopped. I will start summing from Salesman4,salesman5,salesman6,salesman7 and again when i reach 355 497 i stop and mark those records as a flag B&lt;/P&gt;&lt;P&gt;all the remaining records below last record with B i mark as a C.&lt;/P&gt;&lt;P&gt;This is like a simple for or while loop but how to write it in qlikview? Can i approach it via expressions or have to do it in load script. If you guys could help me i would save my next days:)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 06:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721606#M259083</guid>
      <dc:creator />
      <dc:date>2014-07-22T06:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721607#M259084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can loop now through the fields perform calculations.&lt;/P&gt;&lt;P&gt;I also added a input field that references to rownumber and i can edit that input fields but i can imput in the field only numeric values. &lt;/P&gt;&lt;P&gt;Anybbody knows how to input a string value into inputfield?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721607#M259084</guid>
      <dc:creator />
      <dc:date>2014-07-23T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721608#M259085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please post the data in an excel and also how you want your output to look like in the excel so that i can be able to help you .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721608#M259085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T13:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721609#M259086</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;This is how i want to look it like:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62935_Untitled.png" style="width: 620px; height: 278px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is the data from chart table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721609#M259086</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721610#M259087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really tricky&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721610#M259087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T14:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721611#M259088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Julius,&lt;/P&gt;&lt;P&gt;If the above expressions that you have like net price, cost, profit can all be calculated on the back-end, then the answer you are looking for can be done on the back-end.&lt;/P&gt;&lt;P&gt;Attached with solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it guides you in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721611#M259088</guid>
      <dc:creator />
      <dc:date>2014-07-23T14:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721612#M259089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to flag the values dynamically at the front end you have to use inter-chart function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we need to use some additional columns to do that. it is just similar to what Ajay suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think attached application will help you to do that. if work more on that you can simplify even more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhu Appu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721612#M259089</guid>
      <dc:creator>prabhuappu</dc:creator>
      <dc:date>2014-07-23T15:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721613#M259090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this blog by &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;Henric Cronström&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/12/09/pareto-analysis"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/12/09/pareto-analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should help you to get your results without using any loops. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 16:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721613#M259090</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-07-23T16:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721614#M259091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow guys thank you all.&lt;/P&gt;&lt;P&gt;I will try to implement&amp;nbsp; in a side also what what Colin suggested. This seems to be a standard and correct sollution to what i want to achieve.&lt;/P&gt;&lt;P&gt;Thanks once more&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 10:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721614#M259091</guid>
      <dc:creator />
      <dc:date>2014-07-24T10:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721615#M259092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Again,&lt;/P&gt;&lt;P&gt;I have used &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/prabhuappu"&gt;prabhuappu&lt;/A&gt;&lt;/STRONG&gt; example provided and now i want to have more 3 tables that in each of them i will provide data with A Flagging, B flaggin and C flagging and of course i want to use the original table where i see all my salesman with their flaggings. Can you suggest or help how to do that. All tables with 3 different flaggings have to be on the same sheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721615#M259092</guid>
      <dc:creator />
      <dc:date>2014-08-28T13:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through chart(straight table) and perform calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721616#M259093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i can't do it in the backend because in the front end i calculate Sum(profit) and the Sum(profit) changes dynamicaly if i select some other drill down values like date, City o some kind of products catagery.&lt;/P&gt;&lt;P&gt;If i calculate the values in the back end - it will not change. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 08:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-chart-straight-table-and-perform-calculations/m-p/721616#M259093</guid>
      <dc:creator />
      <dc:date>2014-09-02T08:50:27Z</dc:date>
    </item>
  </channel>
</rss>

