<?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: Include Dimensions with NULL data in Pivot-Table (e.g. always show 12 months in columns) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Include-Dimensions-with-NULL-data-in-Pivot-Table-e-g-always-show/m-p/1517218#M36860</link>
    <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;one work around you could try is something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Customer=&amp;gt;}aggr({&amp;lt;Customer=&amp;gt;}count({&amp;lt;Customer=&amp;gt;}distinct if(index(vCustoemrs,Customer)&amp;gt;0,[Line Desc 1])),Customer,Year,Month))&lt;/P&gt;&lt;P&gt;which igonres the selections but them find only the customers who in the selection&amp;nbsp;&lt;/P&gt;&lt;P&gt;the vCustomer variable is populated with this expression&lt;/P&gt;&lt;P&gt;=chr(39) &amp;amp; GetFieldSelections(Customer,chr(39)&amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39)&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 09:35:53 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2018-12-06T09:35:53Z</dc:date>
    <item>
      <title>Include Dimensions with NULL data in Pivot-Table (e.g. always show 12 months in columns)</title>
      <link>https://community.qlik.com/t5/App-Development/Include-Dimensions-with-NULL-data-in-Pivot-Table-e-g-always-show/m-p/1517151#M36849</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I'd like a Pivot-Table to _always_ show 12 months in columns and 3 years in rows.&lt;/P&gt;&lt;P&gt;However, if I filter e.g. on a customer who doens't purchase in every period, the pivot excludes any month/year the customer did not purchase anything.&lt;/P&gt;&lt;P&gt;Any idea how to force Qlik to always display 12+3?&lt;/P&gt;&lt;P&gt;N.B.: "inlude NULL values" is activated for both dimensions and the entire app.&lt;BR /&gt;N.B.2: Generating "Dummy" records with zero values for every combination is no option due amount of data&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Include-Dimensions-with-NULL-data-in-Pivot-Table-e-g-always-show/m-p/1517151#M36849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Include Dimensions with NULL data in Pivot-Table (e.g. always show 12 months in columns)</title>
      <link>https://community.qlik.com/t5/App-Development/Include-Dimensions-with-NULL-data-in-Pivot-Table-e-g-always-show/m-p/1517218#M36860</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;one work around you could try is something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Customer=&amp;gt;}aggr({&amp;lt;Customer=&amp;gt;}count({&amp;lt;Customer=&amp;gt;}distinct if(index(vCustoemrs,Customer)&amp;gt;0,[Line Desc 1])),Customer,Year,Month))&lt;/P&gt;&lt;P&gt;which igonres the selections but them find only the customers who in the selection&amp;nbsp;&lt;/P&gt;&lt;P&gt;the vCustomer variable is populated with this expression&lt;/P&gt;&lt;P&gt;=chr(39) &amp;amp; GetFieldSelections(Customer,chr(39)&amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 09:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Include-Dimensions-with-NULL-data-in-Pivot-Table-e-g-always-show/m-p/1517218#M36860</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2018-12-06T09:35:53Z</dc:date>
    </item>
  </channel>
</rss>

