<?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 !Still not Solved. plz look, WhatIF scenario using inputfield in a pivot with Percentage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142044#M589505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i have a transaction table (EG Sales)&lt;/P&gt;&lt;P&gt;and hirachycal dimension is conected to the transactions table (EG customer super groups / customer group / customer)&lt;/P&gt;&lt;P&gt;i am presenting this in a pivot table and it works great. sum(sales)&lt;/P&gt;&lt;P&gt;now i want to add an inputfield in the script and use it in the pivot in a way that will allow the user to enter a Percentage number (between -100 and +100) into the inputfield&lt;/P&gt;&lt;P&gt;and then use this number to calculate a simulated column in the pivot that will show the change acording to the Percentage entered.&lt;/P&gt;&lt;P&gt;now in a pivot you cannot use inputfield (updatable ones).&lt;/P&gt;&lt;P&gt;you can only use inputAvg and inputSum.&lt;/P&gt;&lt;P&gt;the problem is that when it distibutes the value enterd in to the underlaying rows. it does so using the values in the inputfield but what i need is a distribution based on the value in the "sum(sales)" field.&lt;/P&gt;&lt;P&gt;bcouse otherwise the calculation is wrong.&lt;/P&gt;&lt;P&gt;hope im making myself clear here&lt;/P&gt;&lt;P&gt;any ideas???&lt;/P&gt;&lt;P&gt;Mansyno (aka oded@b-eye-turkey.com)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2009 12:31:52 GMT</pubDate>
    <dc:creator>wizardo</dc:creator>
    <dc:date>2009-04-22T12:31:52Z</dc:date>
    <item>
      <title>!Still not Solved. plz look, WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142044#M589505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i have a transaction table (EG Sales)&lt;/P&gt;&lt;P&gt;and hirachycal dimension is conected to the transactions table (EG customer super groups / customer group / customer)&lt;/P&gt;&lt;P&gt;i am presenting this in a pivot table and it works great. sum(sales)&lt;/P&gt;&lt;P&gt;now i want to add an inputfield in the script and use it in the pivot in a way that will allow the user to enter a Percentage number (between -100 and +100) into the inputfield&lt;/P&gt;&lt;P&gt;and then use this number to calculate a simulated column in the pivot that will show the change acording to the Percentage entered.&lt;/P&gt;&lt;P&gt;now in a pivot you cannot use inputfield (updatable ones).&lt;/P&gt;&lt;P&gt;you can only use inputAvg and inputSum.&lt;/P&gt;&lt;P&gt;the problem is that when it distibutes the value enterd in to the underlaying rows. it does so using the values in the inputfield but what i need is a distribution based on the value in the "sum(sales)" field.&lt;/P&gt;&lt;P&gt;bcouse otherwise the calculation is wrong.&lt;/P&gt;&lt;P&gt;hope im making myself clear here&lt;/P&gt;&lt;P&gt;any ideas???&lt;/P&gt;&lt;P&gt;Mansyno (aka oded@b-eye-turkey.com)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 12:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142044#M589505</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-04-22T12:31:52Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142045#M589506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mansyno,&lt;/P&gt;&lt;P&gt;see the attached exmple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 14:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142045#M589506</guid>
      <dc:creator />
      <dc:date>2009-04-22T14:41:12Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142046#M589507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there Rainer,&lt;/P&gt;&lt;P&gt;thanks for your fast reply.&lt;/P&gt;&lt;P&gt;i guess it is my fault. i might have been a bit unclear.&lt;/P&gt;&lt;P&gt;first of all i need to use "inputField" (the special keyword that when preceeds a load statement makes the filed available for input in the layout)&lt;/P&gt;&lt;P&gt;not a variable with an "inputBox". this i know how to use and used it in many documents.&lt;/P&gt;&lt;P&gt;i have attched an example document.&lt;/P&gt;&lt;P&gt;if you try to change the inputField of one of the subtotals then QV is suppos to distribute this value to the underlaying rows. and also to the cells in the pivot.&lt;/P&gt;&lt;P&gt;the problem is that it distributes the sumed value acording to the number of rows conatined in each sub dimesnion, hence its useless in this scenario&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 05:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142046#M589507</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-04-23T05:28:30Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142047#M589508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mansyno,&lt;/P&gt;&lt;P&gt;I'm using input fields in a similar situation, and I can't understand why would you want to distribute percentage based on Sales... If you are trying to project next year Sales using percentage increase, I'd expect you to use inputavg() and distribute the values identically - 10% across all underlying values. Then, you'd apply the 10% increase to the prior year sales.&lt;/P&gt;&lt;P&gt;Alternatively, you can define an inpute field like "Forecasted Sales", load Last Year Sales as initial values and let Users update the field. THis way, you'd enter absolute values, not percentages. In this case, QlikView can distribute the entered total based on the initial values.&lt;/P&gt;&lt;P&gt;Does it make sense ?&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142047#M589508</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-23T08:06:16Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142048#M589509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;ill start from the buttom, yes ofcourse what you are saying make sense.&lt;/P&gt;&lt;P&gt;the problem is not the distribution to the underlaying individual rows.&lt;/P&gt;&lt;P&gt;the probelm is with the underlaying dimesnions.&lt;/P&gt;&lt;P&gt;lets say i have a customer_group--&amp;gt;Customer hierarchy&lt;/P&gt;&lt;P&gt;and there is customer_group A with 4 Customer 1-2-3-4&lt;/P&gt;&lt;P&gt;but each customer have adirent number of sale rows, like this:&lt;/P&gt;&lt;P&gt;cust&lt;/P&gt;&lt;P&gt;1, 3 lines&lt;/P&gt;&lt;P&gt;2, 2 lines&lt;/P&gt;&lt;P&gt;3, 7 lines&lt;/P&gt;&lt;P&gt;4, 12 lines&lt;/P&gt;&lt;P&gt;if you give the user the inputAvg input field (lets name it "Inc")&lt;/P&gt;&lt;P&gt;and he enters 10 in the subtotal for the customer_group A then it makes 10 for each of the 4 Customers&lt;/P&gt;&lt;P&gt;then it will be sum(sales) * 1.10 for all 4 cells in the pivot // the formual looks like this sum(sales) * (1 + ([Inc]/100))&lt;/P&gt;&lt;P&gt;and this is correct&lt;/P&gt;&lt;P&gt;but if instead the user elters one of the Customer cells, lets say cust 2 and input a 10 value there.&lt;/P&gt;&lt;P&gt;now becouse customer 2 has 2 lines of transactions, each line will get a value of 5 (10/2lines)&lt;/P&gt;&lt;P&gt;but now the subtotal for the inputfield (inc) will be 0.08&lt;/P&gt;&lt;P&gt;but this is incorebt. the increase of 10% in the cust 1 sales does not make increase of 8% for the entire customer_group A&lt;/P&gt;&lt;P&gt;and if you look closely at these numbers tho you will see that the 0.8 comes from deviding 2 (lines) with the total number of lines&lt;/P&gt;&lt;P&gt;2/24=0.083&lt;/P&gt;&lt;P&gt;* in this example im asuming the use of the default distribution mode of the inputAvg function like this: inputAvg(Inc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does it make sense ?&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;P&gt;oh and btw, the same problems apears if you use your 2nd alternative . the one that uses ablsolute values&lt;/P&gt;&lt;P&gt;im sure you can work out the details:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to anyone else reading this&lt;/P&gt;&lt;P&gt;This is not solved yet&lt;/P&gt;&lt;P&gt;is there abug here?&lt;/P&gt;&lt;P&gt;a conceptual bug mabybe?&lt;/P&gt;&lt;P&gt;please help:)&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 22:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142048#M589509</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-04-24T22:54:08Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142049#M589510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mansyno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, the "conceptual bug" is using "default" Distribution (which will divide the amount equally between all the lines) when your business scenario is asking for "equal" distribution (when the same value - 10% - is given to all underlying lines).&lt;/P&gt;&lt;P&gt;Try this: inputavg(Inc, '=') and see if it solves your problem.&lt;/P&gt;&lt;P&gt;If you still have a problem, please post an example.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 23:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142049#M589510</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-24T23:13:54Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142050#M589511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;well as a matter of fact i did try it also using this method: " inputavg(Inc, '=') "&lt;/P&gt;&lt;P&gt;and the results are worse.&lt;/P&gt;&lt;P&gt;becouse it disregards that you told it to use an AVG and it doubls the amount for the cust 1&lt;/P&gt;&lt;P&gt;but anyhow it is still uses this formula - number of line per customer / number of total lines for Customer_Group A&lt;/P&gt;&lt;P&gt;when it calculates the subtotal for the Customer_Group A&lt;/P&gt;&lt;P&gt;i have attached a working Document in one of the previous posts in this thread&lt;/P&gt;&lt;P&gt;it can demonstrate the problem&lt;/P&gt;&lt;P&gt;i have tried this model with both with the InputAvg() function and the InputSum() Function&lt;/P&gt;&lt;P&gt;and used all the avaliable distribuiton modes and even the qulifiers&lt;/P&gt;&lt;P&gt;but the problem still persists&lt;/P&gt;&lt;P&gt;in some cases it can be reveresd btw&lt;/P&gt;&lt;P&gt;meaning that when you put the value in the inside dimensions (EG customers) it calculates corectly for the subtotal of the Cusotmer_Group&lt;/P&gt;&lt;P&gt;but if you change the subtotal for the Customer_Group, it distributes in incorectly to the customers.&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 23:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142050#M589511</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-04-24T23:29:13Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142051#M589514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg and other fellow qlikers,&lt;/P&gt;&lt;P&gt;since its been sometime and no one have found a solution i am reposting the example file with some more explenation of the situation.&lt;/P&gt;&lt;P&gt;to sumerise:&lt;/P&gt;&lt;P&gt;if you have a pivot with an hierarchy of more the one dimensions&lt;/P&gt;&lt;P&gt;and you want to have a filed where the user types a precentage (1-100%) and the cell value of another expression reflects the change to the orignal number&lt;/P&gt;&lt;P&gt;(an example application of this is when you want to show WHATIF changes to your "Profit&amp;amp;loss" for current year when you raise or lower certain expnses or incomes)&lt;/P&gt;&lt;P&gt;the problem is in the caclucation of the contribution of the change of value in a cell level to the total of the level above it in the hierarchy, which is done wrong to my humble opinion.&lt;/P&gt;&lt;P&gt;attached is a sample document&lt;/P&gt;&lt;P&gt;hope to find an answer&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 01:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142051#M589514</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-04-29T01:19:20Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142052#M589515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mansyno,&lt;/P&gt;&lt;P&gt;I played with your sample, and I must admit - using "=" distribution doesn't work in your case. However, default distribution works just the way it's described.&lt;/P&gt;&lt;P&gt;For example, I added 10% to your Sales number (??????) , and that caused a 9.12% increase at the level above, because Sales represent approx. 91% of the total volume - not in $ representation, but perhaps in the number of lines? How else could you possibly distribute the change ?&lt;/P&gt;&lt;P&gt;If you need your values to be proportionate to the existing $ Amounts, the only way I know is to load the amounts into an input field and let the User enter the new amount (as opposed to the % change).&lt;/P&gt;&lt;P&gt;Or, alternatively, you could always "force" the user to start Top-Down (first determine the % Change for the whole Company, then move down to the next level of detail, etc...) and use "T" modifier to enforse the total levels.&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;P.S. How could you possibly know that all of us in QlikCommunity are fluent in Hebrew ? &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>Wed, 29 Apr 2009 02:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142052#M589515</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-29T02:49:36Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142053#M589516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi oleg&lt;/P&gt;&lt;P&gt;thanks for the reply&lt;/P&gt;&lt;P&gt;you say:&lt;/P&gt;&lt;P&gt;"......., but perhaps in the number of lines? How else could you possibly distribute the change ?"&lt;/P&gt;&lt;P&gt;its not the problem of distributing the values as much as it is the aggration of it&lt;/P&gt;&lt;P&gt;which apears not acording to what we expect (which is the real contribuiton of eash increase on each line)&lt;/P&gt;&lt;P&gt;knowing how many lines contributed in each low level is irelevent fact.&lt;/P&gt;&lt;P&gt;This WHATIF scenario is a very common request from customers&lt;/P&gt;&lt;P&gt;but i have yet to find a way of implemnting it in QV&lt;/P&gt;&lt;P&gt;the alternative you sugested are just not it im a fraid.&lt;/P&gt;&lt;P&gt;the same problem is there when you use absolute values in stead of the % (check it out )&lt;/P&gt;&lt;P&gt;and as for the top down aproach..... well that is maybe another way of represingng data but it is not the one our customers seek.&lt;/P&gt;&lt;P&gt;and i can hear my coworkers starting to wisper in my ears: "excel, excel,,,,," &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;oh and btw ???? ??? i thought i eliminatad all ocurences of hebrew in the document. guess i missed some&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 04:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142053#M589516</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-04-29T04:03:16Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142054#M589517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i apologize for doing this but its been few days and the post drifted down to the 5th or 6th page un answered&lt;/P&gt;&lt;P&gt;please if in any of the xperts can read this thread and see if they contribute&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 00:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142054#M589517</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-05-04T00:29:13Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142055#M589518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mansyno,&lt;/P&gt;&lt;P&gt;I've had a look at your problem, find attached a working solution. A few learning points mentioned below:&lt;/P&gt;&lt;P&gt;In order to overcome your analysis requirements, I would look to datamodelling for the answer. If you wish to associate a factor with data of the granularity: 'NAME_51, NAME_52, NAME_53, NAME_54 and ACC_NAME' then create a table that contains data at this level, adding on your input field at this level.&lt;/P&gt;&lt;P&gt;In the front-end you can now either present the end user with a table box of your fields, or use your inputavg in proportionate ( * ) mode to assign factors to one or more levels.&lt;/P&gt;&lt;P&gt;Happy Qliking!&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 05:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142055#M589518</guid>
      <dc:creator />
      <dc:date>2009-05-04T05:03:55Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142056#M589519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there Jonas,&lt;/P&gt;&lt;P&gt;thank you for the reply.&lt;/P&gt;&lt;P&gt;im not really sure what you changed in the script part of your answer but the more imprtent thing is that your QVW is not solving the problem still.&lt;/P&gt;&lt;P&gt;i attached an annotated version of your QVW.&lt;/P&gt;&lt;P&gt;if you check the numbers you see the the accumalation of the values in the higher levels of the pivot(hierarchy) is wrongly calculated compared to the values in the lower lvls, after the change in the inputfield.&lt;/P&gt;&lt;P&gt;again, when changing the input value in the upper level it distributes the changes correctly to its lower lvls but.....&lt;/P&gt;&lt;P&gt;it is accumelating incorrectly towrds its upper levels.&lt;/P&gt;&lt;P&gt;guess osmthining is sliping from my eyes, if i am the only one who can see it&lt;/P&gt;&lt;P&gt;Thanks for everything anyways&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 13:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142056#M589519</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-05-04T13:06:12Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142057#M589523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mansyno,&lt;/P&gt;&lt;P&gt;There were two problems that needed sorting:&lt;/P&gt;&lt;P&gt;1. My initial script with the 'DISTINCT' keyword, didn't actually make the data distinct for each key - this I spotted by looking in the Table Viewer, hovering over the %Key field. If it does not say 'Primary Key' the key is not unique. A two-step approach in the script has now taken care of that. I would recommend studying in detail how the extra table has been created.&lt;/P&gt;&lt;P&gt;2. Your total including % change had a slight logic error in it. When applying factors, these are easiest to apply at row-level. I.e. one cannot (easily) first aggregate a sum and then apply a cumulative % change. Find in the new revised document how a sum at row-level is achieved, and your £ 0.50 added is cumulated as required.&lt;/P&gt;&lt;P&gt;I hope that made more sense and satisfies your requirements.&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 05:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142057#M589523</guid>
      <dc:creator />
      <dc:date>2009-05-05T05:42:34Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142058#M589524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there again Jonas,&lt;/P&gt;&lt;P&gt;i have studied your script more carefully this time and i understand the concept.&lt;/P&gt;&lt;P&gt;i use link table and uniqe %key table too and i agree that it have its advantge, you have used this method wisley to solve one side of the problem and indeed the sum of rows total for the new expression you used [Total inc. % Change] indeed is corect and was increased by my 50 Cents.&lt;/P&gt;&lt;P&gt;but i will pay you (and anyone else who sloves it) another 50 Cents if you can fix the problem with the field [% Change] whice now at the total level shows 2.50%&lt;/P&gt;&lt;P&gt;no way 50 Cents are 2.50% out of £ 9,707.43&lt;/P&gt;&lt;P&gt;i think i mentioed in one of the prevous posts in this thread how this problem is strange in that you cannot solve both sides of the problem simultainsouly&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;it works ok when you look from top to buttom, when you put 10% inc in top lvl it gets distributed corectly to lower lvls&lt;/P&gt;&lt;P&gt;but if you go buttom to top, and look to the upper lvl its is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it also seems what you found is another case like that&lt;/P&gt;&lt;P&gt;where you can corectly show the right inc in Absolute amount, you cannot at the same time show corect accumalation for the % itself&lt;/P&gt;&lt;P&gt;i hope i make myself clear&lt;/P&gt;&lt;P&gt;Thanks for your Time and pataince(oh how i wis hthere was a spell checker in the new forum system)&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its also to bad that there isnt an option to mark an post as partialy answering the question thread &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; lol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 19:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142058#M589524</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-05-05T19:40:52Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142059#M589525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize for doing this agan but i promise its the last time, if the post gets buried again i will close it for lack of public intrest:)&lt;/P&gt;&lt;P&gt;any new ideas will be apprichated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Wizardo (aka Mansyno)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2009 02:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142059#M589525</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-05-17T02:02:17Z</dc:date>
    </item>
    <item>
      <title>WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142060#M589526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only other suggestion I can offer is try the same, only using the original fields for the "Simulated calculation" instead of referencing the columns - it is usually more accurate for subtotals:&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;[Total] * [% change]&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;sum(Original Amount * (1+Change))&lt;/P&gt;&lt;P&gt;See attached. If this doesn't help - sorry, my friend, I guess not every problem can be solved in a Community Forum...&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 00:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142060#M589526</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-05-18T00:32:21Z</dc:date>
    </item>
    <item>
      <title>!Still not Solved. plz look, WhatIF scenario using inputfield in a pivot with Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142061#M589527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Not too sure this is what you are looking for, especially considering the fact that the post ios more than 8 months old, but for others that might encounter the same problem...&lt;/P&gt;&lt;P&gt;Check in your help file or reference manual, when you use inputsum, you can state a parameter whereby you call for how a value inputed at a parent level (in a pivot table) will be distributed through to the children, equal values, proprotionally, etc.&lt;/P&gt;&lt;P&gt;Check "distribution modes" within inputsum. That might resolve the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 00:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Still-not-Solved-plz-look-WhatIF-scenario-using-inputfield-in-a/m-p/142061#M589527</guid>
      <dc:creator />
      <dc:date>2009-12-22T00:31:22Z</dc:date>
    </item>
  </channel>
</rss>

