<?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: What if Analysis/ Percentage Changes of a Row in Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-if-Analysis-Percentage-Changes-of-a-Row-in-Field/m-p/1020349#M640910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two variables vPercRate and vPercHours and use for example an input box object or two sliders to change the values of these variables. Then use these variables in the expression: Sum(RATE*HOURS*$(vPercRate)*$(vPercHours)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need separate Percent Change values for each individual record then you need to add two Inputfields to the table in the script so you can change the values in these fields on the fly in the UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Feb 2016 14:45:18 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-02-13T14:45:18Z</dc:date>
    <item>
      <title>What if Analysis/ Percentage Changes of a Row in Field</title>
      <link>https://community.qlik.com/t5/QlikView/What-if-Analysis-Percentage-Changes-of-a-Row-in-Field/m-p/1020348#M640909</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 am currently building a what-if section for my qlikview dashboard. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now I am working with an equation that is a multiplication&lt;/P&gt;&lt;P&gt;i.e sum(RATE*HOURS) = Revenue.&lt;/P&gt;&lt;P&gt;I was trying formulas such as &lt;SPAN style="font-size: 13.3333px;"&gt;sum(RATE*HOURS)*(1+$(Percent Change in Rate or Hours&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)/100) but as you can see this really doesn't provide an accurate measure of percentage increases and if I have the two percentage change multiplication in the expression a percent change in either one will give the same answer, so is not really providing an accurate what-if analysis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now want be able to alter RATE or HOURS by percentage changes and then multiply these altered rates for revenue. I have exacerbated all alternatives of manipulating this expression and I have realised to make an accurate and meaningful what- if I must be able to alter the rows of the fields individually first before multiplying them together because:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(RATE*HOURS)&amp;nbsp; does not equal sum(RATE)* sum(HOURS).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So what I would like to do is build a what-if field for each of these based of some variable/or other method upon which I can toggle percentage changes in the fields and then get a summation based on row level. Attached is a photo of what I would like to be able to do in Qlik and somehow manage to keep Percentage Change a dynamic element in the process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;IMG alt="WHAT IF.PNG" class="jive-image image-1" src="/legacyfs/online/114415_WHAT IF.PNG" style="height: 140px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated before I lose all my hair!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 11:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-if-Analysis-Percentage-Changes-of-a-Row-in-Field/m-p/1020348#M640909</guid>
      <dc:creator />
      <dc:date>2016-02-12T11:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: What if Analysis/ Percentage Changes of a Row in Field</title>
      <link>https://community.qlik.com/t5/QlikView/What-if-Analysis-Percentage-Changes-of-a-Row-in-Field/m-p/1020349#M640910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two variables vPercRate and vPercHours and use for example an input box object or two sliders to change the values of these variables. Then use these variables in the expression: Sum(RATE*HOURS*$(vPercRate)*$(vPercHours)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need separate Percent Change values for each individual record then you need to add two Inputfields to the table in the script so you can change the values in these fields on the fly in the UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 14:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-if-Analysis-Percentage-Changes-of-a-Row-in-Field/m-p/1020349#M640910</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-13T14:45:18Z</dc:date>
    </item>
  </channel>
</rss>

