<?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: Simulating values in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simulating-values-in-a-pivot-table/m-p/1453985#M434826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Sum(Aggr(Sum(Cost) *&amp;nbsp; if(Measure3 ='custom local',v_Custom_Local, 1), Measure1. Measure2, Measure3))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Dec 2017 07:39:25 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-12-25T07:39:25Z</dc:date>
    <item>
      <title>Simulating values in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Simulating-values-in-a-pivot-table/m-p/1453984#M434825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have&amp;nbsp; a set of costs represented in pivot table.&amp;nbsp; I want to simulate&amp;nbsp; "custom local" -- which is ok. BUt how can I get that simulated value to effect the total sum of "variable selling costs"?&amp;nbsp;&amp;nbsp; the qlikview pivot table dismisses any modificaions made using IF function and calculates total sum value the initial input &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I am successfully able to estimate/simulate "custom local" by multiplying it with a variable using a if function.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM&gt;Sum(Cost) *&amp;nbsp; if(Measure3 ='custom local',v_Custom_Local, 1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;but it doesnt get included in the total sum?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variable selling costs should be 171 and Custom costs should be 145.&lt;/EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="costs.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188066_costs.PNG" style="width: 620px; height: 144px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script is&amp;nbsp; the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;COST_TABLE:&lt;BR /&gt;LOAD * inline&amp;nbsp; [ &lt;BR /&gt;Measure1,Measure2,Measure3,Cost&lt;BR /&gt;Variable Selling Costs,Custom costs,custom regional,15&lt;BR /&gt;Variable Selling Costs,Custom costs,custom local,13&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;let v_Custom_Local = 2; // returns the date serial number of today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 09:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simulating-values-in-a-pivot-table/m-p/1453984#M434825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-24T09:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simulating values in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Simulating-values-in-a-pivot-table/m-p/1453985#M434826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Sum(Aggr(Sum(Cost) *&amp;nbsp; if(Measure3 ='custom local',v_Custom_Local, 1), Measure1. Measure2, Measure3))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2017 07:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simulating-values-in-a-pivot-table/m-p/1453985#M434826</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-25T07:39:25Z</dc:date>
    </item>
  </channel>
</rss>

