<?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 Customization and Aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995144#M338720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello periasamy. Thanks for your response.&lt;/P&gt;&lt;P&gt;This is a good workaround if you have a smaller data set. In our data model, we have 40+ dimensions and more than 20 different&amp;nbsp; measure which makes it difficult to follow your approach. I tested it and there was hardly any impact on performance.&lt;/P&gt;&lt;P&gt;I appreciate your response and time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 16:55:12 GMT</pubDate>
    <dc:creator>montubhardwaj</dc:creator>
    <dc:date>2015-11-20T16:55:12Z</dc:date>
    <item>
      <title>Pivot Table Customization and Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995141#M338717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends.&amp;nbsp; I am dealing with 90+ millions of records and it is quite big application. Users have particular requirements where they want the report to be exactly like a xls sheet. I am able to that exactly but problem is I have to aggreagte&amp;nbsp; and concatenate data again and again to bring it to this desitred format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have prepared a sample data and chart.Here, Product dimension has only 3 values (Clother, Shoes and Watches). Users wants another information in in the same pivot table as shown. I am able to achieve this but I hav to agregate and concatenate data again and again which is making my qvw size much bigger (3-4 times larger because of concatenation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a more elegant way to achieve this? I am attaching sample qvw and xls data to give more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help and time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 16:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995141#M338717</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2015-11-13T16:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Customization and Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995142#M338718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I am doing aggregation and concatenation in script. Since I am dealing with lot of records, I would prefer an approach which is at back end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 16:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995142#M338718</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2015-11-13T16:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Customization and Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995143#M338719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;May be like this.. Not sure about the performance. Check and Let us know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14474348168808975" jivemacro_uid="_14474348168808975"&gt;
&lt;P&gt;DIRECTORY;&lt;/P&gt;
&lt;P&gt;T1:&lt;/P&gt;
&lt;P&gt;CrossTable(Type, Data, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;LOAD Product, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubPrd, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loc, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Super Area], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amout, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Discount, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other&amp;nbsp; &lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[Sample Xls Data.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;Concatenate(T1)&lt;/P&gt;
&lt;P&gt;LOAD 'Total Products Summary' as Type,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; SubPrd, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loc, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Super Area], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data&lt;/P&gt;
&lt;P&gt; Resident T1 Where Type='Amout';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;Final:&lt;/P&gt;
&lt;P&gt;LOAD&amp;nbsp; if(Type='Other','Others/Extras',&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Type='Discount','Discounts Applied',&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Type='Amout',Product,Type))) as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubPrd, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loc, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Super Area], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data as Measure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Resident T1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table T1;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 17:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995143#M338719</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-11-13T17:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Customization and Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995144#M338720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello periasamy. Thanks for your response.&lt;/P&gt;&lt;P&gt;This is a good workaround if you have a smaller data set. In our data model, we have 40+ dimensions and more than 20 different&amp;nbsp; measure which makes it difficult to follow your approach. I tested it and there was hardly any impact on performance.&lt;/P&gt;&lt;P&gt;I appreciate your response and time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995144#M338720</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2015-11-20T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Customization and Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995145#M338721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me put this into a little different way. Please consider this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have different measure for different products e.g MILK_COST,SHOE_COST,CLOTH_COST,SHIRT_COST,WATER_COST, RING_COST, PH_COST etc and 10 more cost.&lt;/P&gt;&lt;P&gt;In my database, there is no such column/field which constitutes all different products. So, I have to create all the these values as Synthetic Dimension and aggregate in pivot table. I am using PICK-MATCH combination in my expression to use correct measure against dimension.&lt;/P&gt;&lt;P&gt;But this is not an elegant approach as I am having millions of rows of data. Do you guys know if there is some better approach at script level so that I can avoid using synthetic dimension at front end?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 17:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Customization-and-Aggregation/m-p/995145#M338721</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2015-11-20T17:01:06Z</dc:date>
    </item>
  </channel>
</rss>

