<?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: Pivot Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158621#M93906</link>
    <description>&lt;P&gt;In that order with that layout of the pivot table, it will not work. You can either try rearraning the dimensions or calculate these values in the script as well.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 12:10:47 GMT</pubDate>
    <dc:creator>steeefan</dc:creator>
    <dc:date>2024-01-05T12:10:47Z</dc:date>
    <item>
      <title>Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158512#M93882</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have created a pivot table in qvw file with available data and it is as follows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upali_Wijearatne_0-1704438328878.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126568i94700ADA18AA8FF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Upali_Wijearatne_0-1704438328878.png" alt="Upali_Wijearatne_0-1704438328878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The records in black are already in my pivot table and I want add the records in Red to my table. But I am unable to do it . Kindly help me achieve it please.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 07:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158512#M93882</guid>
      <dc:creator>Upali_Wijearatne</dc:creator>
      <dc:date>2024-01-05T07:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158530#M93886</link>
      <description>&lt;P&gt;Total values can be added by just activating "Show totals" in the dimension "Product". For Growth, I suggest that you calculate those values in the load script. Otherwise it will probably be tricky to add those right there in the pivot table.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 08:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158530#M93886</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-05T08:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158570#M93893</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you pls elaborate&amp;nbsp; how to activate show total value please&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 09:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158570#M93893</guid>
      <dc:creator>Upali_Wijearatne</dc:creator>
      <dc:date>2024-01-05T09:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158579#M93896</link>
      <description>&lt;P&gt;Certainly:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Switch to Edit mode&lt;/LI&gt;
&lt;LI&gt;Select your pivot table&lt;/LI&gt;
&lt;LI&gt;Go to the section "Data"&lt;/LI&gt;
&lt;LI&gt;Open the dimension properties&lt;/LI&gt;
&lt;LI&gt;Activate "Show totals"&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steeefan_0-1704449455349.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126571i105D525F4DCEC783/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steeefan_0-1704449455349.png" alt="steeefan_0-1704449455349.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 10:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158579#M93896</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-05T10:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158587#M93897</link>
      <description>&lt;P&gt;I can not find options shown in your screen pls&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upali_Wijearatne_0-1704450681366.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126573i08F2B3C421CE8384/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Upali_Wijearatne_0-1704450681366.png" alt="Upali_Wijearatne_0-1704450681366.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 10:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158587#M93897</guid>
      <dc:creator>Upali_Wijearatne</dc:creator>
      <dc:date>2024-01-05T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158612#M93900</link>
      <description>&lt;P&gt;Oh, you're using QlikView. Then proceed as follows:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Right click on the pivot table object&lt;/LI&gt;
&lt;LI&gt;Properties&lt;/LI&gt;
&lt;LI&gt;Presentation&lt;/LI&gt;
&lt;LI&gt;For each dimension you want totals, select it and activate "Show Partial Sums"&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steeefan_0-1704454931575.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126578i0953D0C563A3751B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steeefan_0-1704454931575.png" alt="steeefan_0-1704454931575.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 11:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158612#M93900</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-05T11:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158619#M93905</link>
      <description>&lt;P&gt;That I have already done But I won't total for each year 2022&amp;nbsp; &amp;amp; 2023&amp;nbsp; I get only grand total . That is my issue my friend&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 12:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158619#M93905</guid>
      <dc:creator>Upali_Wijearatne</dc:creator>
      <dc:date>2024-01-05T12:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158621#M93906</link>
      <description>&lt;P&gt;In that order with that layout of the pivot table, it will not work. You can either try rearraning the dimensions or calculate these values in the script as well.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 12:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2158621#M93906</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-05T12:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2159057#M93964</link>
      <description>&lt;P&gt;Principally you will need dimensional values/layers if you want to display any calculation-results. This means further if they don't exists within the origin data they need to be created respectively enabled. Enabling dimensional layers means to enable the totals respectively partial sums within the object-properties for the relevant dimensions.&lt;/P&gt;
&lt;P&gt;Partial sums alone won't return your wanted values but you could query the layer with dimensionality() and branching then your calculation, maybe for year-growth with something like this:&lt;/P&gt;
&lt;P&gt;if(dimensionality() = 2, sum(X) / sum(Y), sum(Z))&lt;/P&gt;
&lt;P&gt;In regard for the products you may add another product-grouping field (maybe also an artificial one) to get an extra layer for the products.&lt;/P&gt;
&lt;P&gt;Alternatively to the use of partial sums feature you could add the missing field-values of growth and total to the relevant fields - you may double the fields in the script to have them in the origin way and with the extra information to be used within the pivot.&lt;/P&gt;
&lt;P&gt;Beside this you may also replace some of dimensional layer with expressions, for example by removing the year-field and applying 3 expressions, one for each year and then the growth-calculation.&lt;/P&gt;
&lt;P&gt;Further quite often it's useful to combine the above hinted approaches to get the most suitable view.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 10:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2159057#M93964</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-01-08T10:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2159150#M93988</link>
      <description>&lt;P&gt;Thanks for your reply. But I am unable comprehend it if you can provide me some script much appreciated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 13:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2159150#M93988</guid>
      <dc:creator>Upali_Wijearatne</dc:creator>
      <dc:date>2024-01-08T13:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2159163#M93991</link>
      <description>&lt;P&gt;Within the script you may add the following load-statement:&lt;/P&gt;
&lt;P&gt;concatenate(MyProductTable) load 'Total' as Product autogenerate 1;&lt;/P&gt;
&lt;P&gt;which extends the product-field.&lt;/P&gt;
&lt;P&gt;Further enable all partial sums within the pivot and add two new expressions of:&lt;/P&gt;
&lt;P&gt;dimensionality()&lt;/P&gt;
&lt;P&gt;secondarydimensionality()&lt;/P&gt;
&lt;P&gt;which will return the layer-order of all included dimensions. These order could be queried for your real calculation to branch appropriately.&lt;/P&gt;
&lt;P&gt;Like already hinted the replacement of the Year with expressions could be simplify the matter which would require at least 3 expressions with something like:&lt;/P&gt;
&lt;P&gt;sum({&amp;lt; Year = {2022}&amp;gt;} Value)&lt;BR /&gt;sum({&amp;lt; Year = {2023}&amp;gt;} Value)&lt;BR /&gt;sum({&amp;lt; Year = {2023}&amp;gt;} Value) /&amp;nbsp;sum({&amp;lt; Year = {2022}&amp;gt;} Value) - 1&lt;/P&gt;
&lt;P&gt;Just play a bit with the examples and you will soon get the wanted information.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 14:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table/m-p/2159163#M93991</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-01-08T14:22:15Z</dc:date>
    </item>
  </channel>
</rss>

