<?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: How to create a pivot table with columns in both ends. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564470#M210667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's my concern. &lt;/P&gt;&lt;P&gt;I will try your approach and check with the customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Makis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Apr 2014 10:03:02 GMT</pubDate>
    <dc:creator>gmu</dc:creator>
    <dc:date>2014-04-27T10:03:02Z</dc:date>
    <item>
      <title>How to create a pivot table with columns in both ends.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564466#M210663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus.&lt;/P&gt;&lt;P&gt;I am faced with the following "reporting" requirement:&lt;/P&gt;&lt;P&gt;I want to create a report like the attached one, where I will have a pivot table with columns in both ends of the table. &lt;/P&gt;&lt;P&gt;The purpose of this being, to have English description on the left hand side, Arabic description on the right hand side and figures in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody created something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Makis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 08:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564466#M210663</guid>
      <dc:creator>gmu</dc:creator>
      <dc:date>2014-04-27T08:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a pivot table with columns in both ends.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564467#M210664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot tables in QlikView are very fixed items.&amp;nbsp; You always have dimensions on the left and/or top and values beneath and to the right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could potentially get to what you are after by using a straight table.&amp;nbsp; What you would need to do for this though is have different expressions for each of the years (rather than a single expression and Year as a dimension).&amp;nbsp; To get each column to only show one year you would need Set Analysis - something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;Year*={'2014'}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you could chose to have a calculated value of &lt;STRONG&gt;max(Year)&lt;/STRONG&gt; and then &lt;STRONG&gt;max(Year)-1&lt;/STRONG&gt; in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could then either leave it so that you always show all years or in the Presentation tab you can suppress columns on a conditional basis (say to hide old years when no data in the selection).&amp;nbsp; The calculation for each column would be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;Year*={'2014'}&amp;gt;}Value) &amp;lt;&amp;gt; 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are quite a few cases where in order to get a desired result you need to use a Straight Table rather than a pivot, this feels to me to be one of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 08:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564467#M210664</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-04-27T08:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a pivot table with columns in both ends.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564468#M210665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve. &lt;/P&gt;&lt;P&gt;Your approach will bring the right results at the end of the day. &lt;/P&gt;&lt;P&gt;The problem is that I will not be able to reproduce the desired presentation, having for instance the gender and the year on the top of the table, with the corresponding grouping. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;Makis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 08:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564468#M210665</guid>
      <dc:creator>gmu</dc:creator>
      <dc:date>2014-04-27T08:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a pivot table with columns in both ends.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564469#M210666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to create the Male/Female columns as separate expressions also.&amp;nbsp; Again using Set Analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;Year*={'2014'},Gender*={'Male'}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When choosing to display the columns or not you would want to ignore the gender - as I suspect you would either want to show both male and female or neither.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The downside of this approach is that you couldn't have the year label spanning two columns, you would have to have &lt;STRONG&gt;2014 Male&lt;/STRONG&gt; and &lt;STRONG&gt;2014 Female&lt;/STRONG&gt; as separate legends.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Steve&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 10:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564469#M210666</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-04-27T10:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a pivot table with columns in both ends.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564470#M210667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's my concern. &lt;/P&gt;&lt;P&gt;I will try your approach and check with the customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Makis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 10:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564470#M210667</guid>
      <dc:creator>gmu</dc:creator>
      <dc:date>2014-04-27T10:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a pivot table with columns in both ends.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564471#M210668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only way you can get around that with straight tables is by having the year legends in a separate table that hovers above with transparency on - but that is fiddly and likely to go wrong.&amp;nbsp; Hope the client is amenable to the duplication of the year legend - sell it on the fact that when you export to Excel it is cleaner that each column has a full legend!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 10:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-pivot-table-with-columns-in-both-ends/m-p/564471#M210668</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-04-27T10:05:47Z</dc:date>
    </item>
  </channel>
</rss>

