<?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: Does anyone know how to create multiple rows in pivot table situations? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352164#M1174171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try and take a look this evening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 14:27:40 GMT</pubDate>
    <dc:creator>mazacini</dc:creator>
    <dc:date>2012-05-21T14:27:40Z</dc:date>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352155#M1174154</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;BR /&gt;I am relatively new to Qlikview and I have been set a challenge to generate an application around a recent survey conducted by my workplace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My initial thoughts were to generate a pivot table that would have columns of data such as gender, ages, overall totals and percentages and then within the rows themselves I would build in the variety of questions and their options as detailed in the survey i.e. 'Q1: What did you think of this service?' - 'Option 1: Very good - Option 2: Good', etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing is as straight forward as I had first thought as each time I add an additional question beneath existing row it basically adds it in a drill down format i.e. 'Q1: What did you think of this service?' followed by 'Question 2' which is added as a sub category of question 1 where as I want it to be a seperate and new entry within the row fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached excel spreadsheets hopefully demonstrates clearly what I currently am viewing (tab 1) and what I want to be able to achieve with this (tab 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At present, I have adopted a 'Cyclic Group' process to the application where I am able to rotate the questions round in order to obtain the results I need.&amp;nbsp; However this isn't really the ideal outcome I was hoping for since I want to be able to show all of the data in a pivot table format which can than be transported across to Excel for further examination or for distribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or advice would be gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards, Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 11:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352155#M1174154</guid>
      <dc:creator />
      <dc:date>2012-05-15T11:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352156#M1174155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not an expert, but as no other assistance seems to be forthcoming, I'll give it a go!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what your source data looks like, but the result in the attached image can be achieved as long as the data comes in Sheets 1 and 2 in the attached spreadsheet.&lt;IMG __jive_id="14299" alt="Image 53390.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/14299_Image+53390.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Let me know if this is something that might work, and I'll give you some more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(BTW, I know the % is not exactly what you wanted, but I 'm sure that's an easy fix - my head is a bit frazzled right now.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 22:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352156#M1174155</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-15T22:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352157#M1174157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is exactly what I have been trying to attempt to achieve.&amp;nbsp; I would be grateful if you could let me know how you went about achieveing this layout.&amp;nbsp; I'm not too worried about the percentages at this stage.&amp;nbsp; More so about getting the look of the matrix grid right which is something that has been perplexing me for some time now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help / advice would be gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards, Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 11:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352157#M1174157</guid>
      <dc:creator />
      <dc:date>2012-05-16T11:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352158#M1174160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Main&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Main#&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; Sheet2);&lt;BR /&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;CrossTable&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Party&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Sub&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Sub&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,3) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Main#&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[The Guild]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[The University]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Third party provider]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; Sheet1); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to replace the FROM location to suit your local folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then make a Pivot Chart. Relevant settings are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions:&lt;/P&gt;&lt;P&gt;Sub&lt;/P&gt;&lt;P&gt;Party&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;Label: Count &lt;/P&gt;&lt;P&gt;Definition =Sum(Count) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presentation&lt;/P&gt;&lt;P&gt;Check "Always Fully Expanded"&lt;/P&gt;&lt;P&gt;Check "Show Partial Sums" for Sub and Party&lt;/P&gt;&lt;P&gt;Check "Subtotals at bottom"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above excludes % expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any more queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 13:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352158#M1174160</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-16T13:02:48Z</dc:date>
    </item>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352159#M1174162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for this.&amp;nbsp; Would it be possible for you to add the excel spreadsheet (Thread53390.xlsx) from which the script works from so that I can see how all of this works and how I can apply it to one I have here.&amp;nbsp; I should have supplied you with a sample of the data I use in the last message but forgot to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 13:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352159#M1174162</guid>
      <dc:creator />
      <dc:date>2012-05-16T13:22:32Z</dc:date>
    </item>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352160#M1174163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I atttached that to my posting last night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 16:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352160#M1174163</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-16T16:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352161#M1174165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't see the two new additional tabs on the excel spreadsheet.&amp;nbsp; Apologies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution you have provided is exactly what we are looking for.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I should have done, from the start, was to let you see the raw data from which the application is currently linked to.&amp;nbsp; As you can see from the 'RawData' tab the data is laid out in a different way to what you have laid in your 'Sub' tab.&amp;nbsp; All I can say is the data has been downloaded from a SNAP survey software into a csv formatted excel spreadsheet.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you will no doubt see that the main question is not embedded from within it but that is because we already now that the sub categories are linked to the relevant question, which in this case is related to Q10.&amp;nbsp; Having said that I can work the key questions into the application as per your suggestion in the 'Main' tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway in which the 'RawData' tab could be made workable within the parameters of your solution.&amp;nbsp; Some of the other questions will have 'Yes / No' - 'Very Good / Good / Average / Poor / Very poor' responses as resulting responses.&amp;nbsp; Some of the questions will contain responses that are the same as the questions themselves as per Q11 columns shown in the 'Raw Data' tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this all makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&amp;nbsp; Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352161#M1174165</guid>
      <dc:creator />
      <dc:date>2012-05-17T10:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352162#M1174167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to load the Raw Data in as a crosstable load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, my understanding (and I stand to be corrected!) is that you need a qualifier field in a crosstable load. I have assumed to insert a column for that purpose, named "Respondent". In fact I can leave that blank, as I will only use it to facilitate the load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am ignoring the Sub tab, as we are now going to get the model to provide these figures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a new Sub1 tab which links the Sub Question to the Main Question. I should be able to create this in the script (as I did previosly), but it is not working so I have come up with this workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New XL file attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you proceed, you wll need manually maintain the Main and Sub1 tabs on an ongoing basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the new script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;CrossTable&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Sub&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Response&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; *&lt;BR /&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; RawData);&lt;BR /&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Main#&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Sub&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; Sub1);&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Main&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Main#&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; Main);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your chart, Dimensions are now Sub and Response;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Expression is &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: maroon; font-size: 9pt;"&gt;Response&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;Display the Main Questions by Select Field &amp;gt; Mian&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;Rgds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;Joe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 13:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352162#M1174167</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-17T13:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352163#M1174168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the last post.&amp;nbsp; I think we are almost there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few additional queries which I hope you will be able to assist me in answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now want to be able to resolve the problems I am experiencing with regards to calculating totals for each of the question sets broken down by a variety of parameters (gender, ages, locations, etc.) from within this matrix.&amp;nbsp; As you will see from the attached spreadsheet what is currently happening is the figures shown in the matrix is for the overall total for the question(s) themselves and not necessarily the totals for the breakdowns (gender, ages, location, etc.). I have tried to work around this by applying ‘Count’ and ‘Sum’ functions to the data but as yet none appear to work the way I want it to.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know of any other way I can overcome this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, as you can see from the spreadsheet I have applied questions in row and in columns so for instance I want to show Genders, Ages, Locations in columns and then show actual questions in the rows.&amp;nbsp; I think what I am trying to achieve here is a demographic overview of the figures. I can achieve this with one set (Gender) however if I apply another set to the matrix it is applied as a next level down from Gender and not necessarily alongside it which is what I want to be able to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last but not least, is there any way I can script an option to only view data where it has been ‘selected’ and omit data where it has been marked as “Not Selected” or “Not Declared” from within the matrix.&amp;nbsp; I have tried to add a simple list box to the application and each time I select for instance ‘Males’ and ‘Females’ only the change on the list box doesn’t affect the change from within the matrix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for bombarding you with even more questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards, Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 14:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352163#M1174168</guid>
      <dc:creator />
      <dc:date>2012-05-18T14:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352164#M1174171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try and take a look this evening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 14:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352164#M1174171</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-21T14:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352165#M1174172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a number of issues here. I'm not sure of I can get my head around each, but let me clarify the nature of the data firstly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstky, can you confirm how you capture the gender and age data for each respondent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simplest would be if there were 2 additional columns in the RawData tab, one for gender, and one for Age group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then have 2 dimensions that you can use to analyse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 15:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352165#M1174172</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-21T15:07:08Z</dc:date>
    </item>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352166#M1174173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; can confirm that 'Gender' and 'Age' (as do all of the data) have columns within the original dataset where entries are made within the rows as per the attachment on 17th May 2012 which gives you an idea of how the data looks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 15:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352166#M1174173</guid>
      <dc:creator />
      <dc:date>2012-05-21T15:32:07Z</dc:date>
    </item>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352167#M1174174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. You will need to amend the crosstable load to pull in this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the RawDat, I insert 2 new columns (Age and Gender) to the right of the Respondent Column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script changes to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;CrossTable&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Sub&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Response&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,3) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;This creates and additional 2 quaifier fields (Age and Gender). Age and Gender are now available as Dimensions in the modle, and can be used to extend the pivot for analysing repsonses/respondents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 21:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352167#M1174174</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-21T21:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352168#M1174175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this finds you well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to say many thanks for your solution to my previous query.&amp;nbsp; It has resolved a lot of issues from our point of view and has created all kinds of possibilities with this new matrix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am now attempting to achieve with the new layout is calculating percentages, which I thought would be a fairly straightforward thing to achieve is proving somewhat elusive.&amp;nbsp; Perhaps I have overcomplicated what I am attempting to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to be able to achieve is columns where the total equate to 100% and the cells within each column to be calculated as a percentage of the overall total for the selected criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached spreadsheet shows the ‘Current outcome’ which is what I am experiencing at present where the calculations are determining percentages as an overall total of each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem lies in that I have two tiers working within the columns which are making the calculations less straightforward as I would like it to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there is a simple way of overcoming this but at this stage all my attempts thus far to get it to work is proving fruitless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation I have adopted (detailed in the spreadsheet) will work if only one of the two tiers appear in the columns but not when there are more than one tier from within the columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be gratefully appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards, Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 11:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352168#M1174175</guid>
      <dc:creator />
      <dc:date>2012-05-23T11:17:11Z</dc:date>
    </item>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352169#M1174176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haven't abandoned you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just haven't been on the site for a few days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Response&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Gender&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Response&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;Rgds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;Joe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 10:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352169#M1174176</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-25T10:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352170#M1174177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just got around to trying this out and I am not getting the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied your suggested expression as per:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Response&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt; &amp;lt;Q1 Gender&amp;gt; Response)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt;I notice that the &lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;Q1 Gender&amp;gt; Response)&lt;SPAN style="font-family: Arial;"&gt;remained black. I have attempted a variety of different options such as inserting brackets at various points in the expression but to no avail.&amp;nbsp; The percentage column in the matrix returns dashes where the data should be.&amp;nbsp; Any suggestions?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt;Thanks and regards, Mike.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 09:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352170#M1174177</guid>
      <dc:creator />
      <dc:date>2012-05-29T09:48:24Z</dc:date>
    </item>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352171#M1174178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may have mislead you,as I named your Tier Two dimension as Gender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you replace the word Gender with the name of the Tier Two dimension, does it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 11:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352171#M1174178</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-29T11:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352172#M1174179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a bit of twiddling and fiddling I came up with this solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Response&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt;) &amp;lt;&lt;SPAN style="color: #800000;"&gt;[Q1 Gender]&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #800000;"&gt;Response&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...and it works!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards, Mike. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 11:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352172#M1174179</guid>
      <dc:creator />
      <dc:date>2012-05-29T11:49:24Z</dc:date>
    </item>
    <item>
      <title>Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352173#M1174180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well done on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any of the above answers proved correct ot hepful, you might mark them accordingly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 13:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352173#M1174180</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-05-29T13:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know how to create multiple rows in pivot table situations?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352174#M1174181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On presenting the new matrix to my line manager a query was raised as to whether the percentage calculation could be reworked to look something along the lines of the attached spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The green cells is what I want to be able to achieve.&amp;nbsp; It is basically a percentage of the total sum of the 'Sub' questions for each of the 'Responses' ((Selected or Not Selected / Q7a or Q7b or Q7c and so forth) or (1063 / 1320 for Q7a Not Selected and 257 / 1320 for Q7a Selected and so forth)). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easy way of achieving this, as this has me somewhat baffled at present in attempting to translate this simple calculation into script format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will be last thing I need to do to complete this matrix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks and regards, Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 20:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-anyone-know-how-to-create-multiple-rows-in-pivot-table/m-p/352174#M1174181</guid>
      <dc:creator />
      <dc:date>2012-05-30T20:25:42Z</dc:date>
    </item>
  </channel>
</rss>

