<?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 on Data Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167008#M629146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is This you are expecting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 08:11:51 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-08-25T08:11:51Z</dc:date>
    <item>
      <title>Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167006#M629144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was looking at &lt;A href="https://community.qlikview.com/thread/85227" title="https://community.qlikview.com/thread/85227"&gt;Pivot Up while loading data | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;where somebody asks :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: rgb(61, 61, 61); width: 268px;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="79"&gt;Customer ID&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="92"&gt;Category Type&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="97"&gt;Category Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;5&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and while loading the data in QV I want to load it in the following format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;" width="148"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="79"&gt;Customer ID&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="23"&gt;A&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="23"&gt;B&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="23"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;A4&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;B3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;C4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;5&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;-&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;-&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;P&gt;C1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I have this same question, but the answer assumes there are only a couple of category types. Imagine I have A,B,C all the way up to something like AZZB ..or just a lot of different categories, or a new category gets added every so often and i'd like to bring it in anyway....&amp;nbsp; If I have&amp;nbsp; unknown category types, or if a new category type comes into my Data source, or I have thousands of different category types,&amp;nbsp; is there a way to make this dynamic where I do not hard code "if a then value of a as a " type statement. Where it's like...for each Category Type , Category Value as Category Type Name ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 18:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167006#M629144</guid>
      <dc:creator />
      <dc:date>2016-08-24T18:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167007#M629145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that you really need these kind of table-structure within your datamodel? If yes take a look here: &lt;A href="https://community.qlik.com/qlik-blogpost/3629"&gt;The Generic Load&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 07:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167007#M629145</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-25T07:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167008#M629146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is This you are expecting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 08:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167008#M629146</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-25T08:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167009#M629147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; I have tried a generic load before but it was taking hours because of the volume of the data, and to have to then join it again was inefficient.&amp;nbsp; I was hoping there was a way to add columns as the loader goes through the rows with a for each statement or something like that. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167009#M629147</guid>
      <dc:creator />
      <dc:date>2016-08-25T15:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167010#M629148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but I'm trying to do it in the load because I have other functions that depend on the ID and how many A's are in a specific ID at a certain time compared to other Ids&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167010#M629148</guid>
      <dc:creator />
      <dc:date>2016-08-25T15:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167011#M629149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A transformation with the generic load (and the opposite the crosstable load) needs generally a lot of performance and there are not really alternatives which perform significantly better (you could do it with manually scripting - joins and some other stuff within some loops). But you don't need to perform this again and again with all your data if you implement an incremental load-approach, here is some stuff for this topic (and some more): &lt;A href="https://community.qlik.com/docs/DOC-9038"&gt;Advanced topics for creating a qlik datamodel&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless I come to my question from above - do you really need this within the script? What do you do with these table? Which further transformations or calculations are needed? Maybe it's better to ask for the aim instead of an intermediate step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 17:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167011#M629149</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-25T17:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167012#M629150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my first app. So I'd love input from an expert.&amp;nbsp; I'm not sure of all the reasons I need to do this. One of the reasons is I have a dynamic pivot table on the front end and I also have some calculations that need to know the other Category Types for that Customer ID.&amp;nbsp;&amp;nbsp; Like, I have one calculation that wants, for say, customer ID 1, wants to sum the Category Value for C, but only those Customer IDS for that month that also have a B value greater than 0.&amp;nbsp; I also need to know for each month the Highest B by the account number, so on the back end I do some groupings to get to this. but I'm not sure how to do it without pivoting?&amp;nbsp; I also on the front end have a dynamic pivot: I'll choose the Category name from an arbitrary island list of category types, and then&amp;nbsp; I have a Chart with a bunch of variables, vCategory1, vCategory2 and so on.&amp;nbsp; The conditional show is&amp;nbsp; =GetSelectedCount(Category) &amp;gt; 0&amp;nbsp; ,=GetSelectedCount([Category]) &amp;gt; 1&amp;nbsp; ..and so on for each expression, and then the definition is =Sum( $(vCategory1))&amp;nbsp; ...and so on.&amp;nbsp; My variables are...for example, vCategory1&amp;nbsp; is =SubField(vCategory,',',1)&amp;nbsp;&amp;nbsp; and vCategory is =GetFieldSelections(Category,', ', 25) .&amp;nbsp;&amp;nbsp;&amp;nbsp; If it wasn't pivoted on the back end, then if I choose Category A and B, then for each customer, for example the chart would have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CustomerID&amp;nbsp; Type Quantity&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A 30&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or, I would want them on the same line but when I do it in that way and do sum of A and Sum of B- then it does this:&lt;/P&gt;&lt;P&gt;Customer ID&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ideally, as with my dynamic pivot, it has &lt;/P&gt;&lt;P&gt;Customer ID&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B &lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that's what I would like..&amp;nbsp;&amp;nbsp;&amp;nbsp; And as far as this is concerned, I still want to be able to know , for that month, if that customer had more than 0 in the "A"s and I'm not sure how to do that without grouping it somehow.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 19:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167012#M629150</guid>
      <dc:creator />
      <dc:date>2016-08-26T19:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167013#M629151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a first app it sounds quite complicated and maybe more as necessary. It's further not quite clear for me what do you want to achieve. Your mentioned ideal pivot is the qlik pivot default behaviour. For additionally conditions which aren't directly selectable could you apply calculated dimensions within the pivot or as listbox expression or with set analysis conditions within the expressions (in the case it must be fully dynamically - otherwise there are also some precalculations within the script thinkable - some aggregations as separate tables or as flags or flags created per &lt;A href="https://community.qlik.com/docs/DOC-9314"&gt;Peek() or Previous() ?&lt;/A&gt;). Those calculations could be need a lot of performance whereby if you apply a huge crosstable and quite probably a lot of if-loops it won't be rather better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you will find very useful informations about &lt;A href="https://community.qlik.com/qlik-blogpost/3676"&gt;Calculated Dimensions&lt;/A&gt; and &lt;A href="https://community.qlik.com/qlik-blogpost/4076"&gt;A Primer on Set Analysis&lt;/A&gt; and more practically &lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167013#M629151</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-29T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167014#M629152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus, i'll look at those. and ha ha, it's not the default behavior for me!&amp;nbsp; This has been something where I work on it, and if it doesn't work, I change things until it does work. So there could have been a different reason I did one of those things in a certain way..that caused something else to do something else in a certain way..and so on.&amp;nbsp; I've been looking for calculated dimensions they never work for me how I want them too.&amp;nbsp; Thanks I'll look that over!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167014#M629152</guid>
      <dc:creator />
      <dc:date>2016-08-29T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot on Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167015#M629153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something that's worth a try:&lt;/P&gt;&lt;P&gt;1) Dump a sample of your data into a CSV/Excel file.&lt;/P&gt;&lt;P&gt;2) Using the File Load wizard, select the Crosstable option (should be on the third screen). &lt;/P&gt;&lt;P&gt;3) Finish the process, load your data, and make sure you're getting the expected result.&lt;/P&gt;&lt;P&gt;4) Adapt the generated code for your original data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done this before, and it works well - but depending on your scaling, it may not be relevant for your use case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 14:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-on-Data-Load/m-p/1167015#M629153</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2016-08-29T14:01:36Z</dc:date>
    </item>
  </channel>
</rss>

