<?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 ignore a dimension inside a pivot table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-ignore-a-dimension-inside-a-pivot-table/m-p/1903740#M74548</link>
    <description>&lt;P&gt;I managed to do it with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count([Order ID]) /&lt;BR /&gt;avg( aggr(Count(total &amp;lt;[Activation date]&amp;gt; [Order ID]),[Order ID],[Activation date]))&lt;/P&gt;
&lt;P&gt;Thanks for whoever read and tried this out.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 19:01:43 GMT</pubDate>
    <dc:creator>LuisRivera</dc:creator>
    <dc:date>2022-03-10T19:01:43Z</dc:date>
    <item>
      <title>How to ignore a dimension inside a pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-ignore-a-dimension-inside-a-pivot-table/m-p/1900839#M74324</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you can help me with a specific view for my enterprise.&lt;/P&gt;
&lt;P&gt;In the following table I have the amount of orders I activated each month against the amount of cancelled orders.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LuisRivera_2-1646336076853.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73550i911DD59230983407/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LuisRivera_2-1646336076853.png" alt="LuisRivera_2-1646336076853.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please note that we have 2 main dimensions used in the table: [Activation date] and [Cancel date]. I am also measuring the distinct count of [Order ID].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main goal here is to measure the percentage of cancelled orders (based on the total activations in each month), just like in the example below (brutely made in Excel just to exemplify what I need to see):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LuisRivera_3-1646336926395.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73551i2FEBA3772FA47AF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LuisRivera_3-1646336926395.png" alt="LuisRivera_3-1646336926395.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For example, in the month of october, we cancelled 17% of the 48 orders activated in october/21 (remember the 8 we had in the previous table? 8 divided by 48 is 17%). In the following month, we cancelled 6% of those 48 orders (3/48=6%).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried several approaches but haven't managed to get there yet (while consulting QlikCommunity): the aggr() function, set analysis, total&amp;lt;dim&amp;gt;, and all&amp;lt;dim&amp;gt;.&lt;/P&gt;
&lt;P&gt;Does anyone have a clue of how to get there in Qliksense/view?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;I'll post here a sample of the data used. Please let me know if there's any need of additional information.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 19:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-ignore-a-dimension-inside-a-pivot-table/m-p/1900839#M74324</guid>
      <dc:creator>LuisRivera</dc:creator>
      <dc:date>2022-03-03T19:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore a dimension inside a pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-ignore-a-dimension-inside-a-pivot-table/m-p/1903740#M74548</link>
      <description>&lt;P&gt;I managed to do it with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count([Order ID]) /&lt;BR /&gt;avg( aggr(Count(total &amp;lt;[Activation date]&amp;gt; [Order ID]),[Order ID],[Activation date]))&lt;/P&gt;
&lt;P&gt;Thanks for whoever read and tried this out.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 19:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-ignore-a-dimension-inside-a-pivot-table/m-p/1903740#M74548</guid>
      <dc:creator>LuisRivera</dc:creator>
      <dc:date>2022-03-10T19:01:43Z</dc:date>
    </item>
  </channel>
</rss>

