<?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: Missing columns in pivot table / show upon selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225305#M391214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcos, try adding the NODISTINCT clause to each Aggr() so it repeats calculations when it founds the same value dimensions in different cells:&lt;/P&gt;&lt;P&gt;Aggr( NODISTINCT ... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding Header1 and Header2 to the dimensions in each Aggr() should also work:&lt;/P&gt;&lt;P&gt;Aggr( ...., dimension1, dimension2, header1, header2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 12:42:53 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2016-11-10T12:42:53Z</dc:date>
    <item>
      <title>Missing columns in pivot table / show upon selection</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225303#M391212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with some missing columns in a pivot table &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143441" alt="pivot01.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143441_pivot01.JPG" style="height: 107px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As it can be seen in the previous image, I have a pivot table with 3 dimensions, Corporation, Header1 and Header2.&lt;/P&gt;&lt;P&gt;With the current expression, the table shows only Header2 value '($)' and it should display both '($)' and '(%)', since no value for Header2 is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, I thougt it was something with the formula, but if I select '(%)' from Header2, the respective value is displayed as expected:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143443" alt="pivot02.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/143443_pivot02.JPG" style="height: 106px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to show both values at the same time, but with a header grouping the information so it wouldn't be repetitive as in a straight table:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143444" alt="straight01.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/143444_straight01.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to solve the layout issue with the inline table created in the QVW file attached, but now some of the expressions do not show, unless the respective value of the header is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, following attached is the QVW file an its source XLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I added 2 more pivot tables in the QVW:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the first, I used some random number instead of the formula and it shows both columns as it should.&lt;/P&gt;&lt;P&gt;And on the second, I used the exact same formula in the first column, which is already showing, but even so, it was not displayed.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pivot03.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/143517_pivot03.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 20:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225303#M391212</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-11-09T20:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Missing columns in pivot table / show upon selection</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225304#M391213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not make the "Header"-columns with "Enable" conditional? !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 12:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225304#M391213</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2016-11-10T12:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Missing columns in pivot table / show upon selection</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225305#M391214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcos, try adding the NODISTINCT clause to each Aggr() so it repeats calculations when it founds the same value dimensions in different cells:&lt;/P&gt;&lt;P&gt;Aggr( NODISTINCT ... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding Header1 and Header2 to the dimensions in each Aggr() should also work:&lt;/P&gt;&lt;P&gt;Aggr( ...., dimension1, dimension2, header1, header2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 12:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225305#M391214</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-10T12:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Missing columns in pivot table / show upon selection</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225306#M391215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your answer was helpful, but in my example I used just the Mix Column, and in the real app I would need more columns.&lt;/P&gt;&lt;P&gt;So it didn't worked when adding more columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below answer worked ok, I'll attach the QVW file with the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 13:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225306#M391215</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-11-10T13:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Missing columns in pivot table / show upon selection</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225307#M391216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Ruben!&lt;BR /&gt;That was exactly it!&lt;/P&gt;&lt;P&gt;Attached is the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first table is the correct, the second is the variation of Johan solution and the third is the correct view in a straight table.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143529" alt="pivot05.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143529_pivot05.JPG" style="height: 370px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 13:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-columns-in-pivot-table-show-upon-selection/m-p/1225307#M391216</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-11-10T13:37:50Z</dc:date>
    </item>
  </channel>
</rss>

