<?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 Pivot table with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604641#M479000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody! I have some problem with such task:&lt;/P&gt;&lt;P&gt;we have a table with data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ClientID&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ReceiptSum&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ReceiptInterval&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;101&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0-100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0-100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/05/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/01/2014&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;so the task is to build a pivot table like that:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="3" style="padding: 2px;"&gt;ReceiptInterval&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0-100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;2 (number of customers)&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD colspan="2" style="padding: 2px;"&gt;count of receipts&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I tried several ways to build that table:&lt;/P&gt;&lt;P&gt;1)-in data model create table &lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Count (ClientID) as Count_of_receipts,&lt;/P&gt;&lt;P&gt;ClientID ,&lt;/P&gt;&lt;P&gt;ReceiptInterval&lt;/P&gt;&lt;P&gt;resident TotalReceipts Group by ReceiptInterval, ClientID;&lt;/P&gt;&lt;P&gt;then use this table for building pivot tavle. It works but pivot table is insensitive to selections made by user.&lt;/P&gt;&lt;P&gt;2)- make table of several text objects, in each object i'll calculate certain value, for eaxmple: calculate number of customers, who have 1 receipt in the amount of 100-200, than calculate number of customers,who have 2 receipts in the amount of 100-200 etc. For such calculations I I've used set analysis, but it doesn't work. &lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;ReceiptInterval={'100-200'}, count({&amp;lt;ReceiptInterval={'100-200)&amp;gt;}ReceiptInterval={1})&amp;gt;}distinct ClientID )&lt;/P&gt;&lt;P&gt;Can anybody help with this expression or another way to solve my problem? Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 07:35:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-19T07:35:25Z</dc:date>
    <item>
      <title>Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604641#M479000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody! I have some problem with such task:&lt;/P&gt;&lt;P&gt;we have a table with data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ClientID&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ReceiptSum&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ReceiptInterval&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;101&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0-100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0-100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/05/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/01/2014&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;so the task is to build a pivot table like that:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="3" style="padding: 2px;"&gt;ReceiptInterval&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;100-200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0-100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;2 (number of customers)&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD colspan="2" style="padding: 2px;"&gt;count of receipts&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I tried several ways to build that table:&lt;/P&gt;&lt;P&gt;1)-in data model create table &lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Count (ClientID) as Count_of_receipts,&lt;/P&gt;&lt;P&gt;ClientID ,&lt;/P&gt;&lt;P&gt;ReceiptInterval&lt;/P&gt;&lt;P&gt;resident TotalReceipts Group by ReceiptInterval, ClientID;&lt;/P&gt;&lt;P&gt;then use this table for building pivot tavle. It works but pivot table is insensitive to selections made by user.&lt;/P&gt;&lt;P&gt;2)- make table of several text objects, in each object i'll calculate certain value, for eaxmple: calculate number of customers, who have 1 receipt in the amount of 100-200, than calculate number of customers,who have 2 receipts in the amount of 100-200 etc. For such calculations I I've used set analysis, but it doesn't work. &lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;ReceiptInterval={'100-200'}, count({&amp;lt;ReceiptInterval={'100-200)&amp;gt;}ReceiptInterval={1})&amp;gt;}distinct ClientID )&lt;/P&gt;&lt;P&gt;Can anybody help with this expression or another way to solve my problem? Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 07:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604641#M479000</guid>
      <dc:creator />
      <dc:date>2014-02-19T07:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604642#M479001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Egor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the function &lt;STRONG&gt;Class&lt;/STRONG&gt;() that may suit you:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Class&lt;/STRONG&gt;(ReceiptSum, 100) as a calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;count&lt;/STRONG&gt;() function will be used as a normal expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 08:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604642#M479001</guid>
      <dc:creator />
      <dc:date>2014-02-19T08:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604643#M479002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604643#M479002</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-19T09:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604644#M479003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish, not exactly.&lt;/P&gt;&lt;P&gt;in your Pivot table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dimensions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -ReceiptIntervals&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -ClientID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expressions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -number of client's receipts for each interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dimensions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -ReceiptIntervals (already done) (100-200,200-300)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;-a certain number of receipts for period (1 , 2, 3, etc)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-number of clients, that have certain number of receipts on ReceiptInterval.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example the result is: &lt;/P&gt;&lt;P&gt;-2 clients have 1 receipt in 0-100 interval &lt;/P&gt;&lt;P&gt;-1 client has 2 receipts in 100-200 interval&lt;/P&gt;&lt;P&gt;-1 client has 1 receipt in 100-200 interval&lt;/P&gt;&lt;P&gt;-none has 2 receipts in 0-100 interval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604644#M479003</guid>
      <dc:creator />
      <dc:date>2014-02-19T09:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604645#M479004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egor&lt;/P&gt;&lt;P&gt;in Scripting You Can add like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;their two methods&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If(ReceiptSum&amp;lt;100,'0-100','100-200')as Flag_if,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR this can also be used in script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Class(ReceiptSum,100) as Flag_Class,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604645#M479004</guid>
      <dc:creator />
      <dc:date>2014-02-19T09:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604646#M479005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still unclear for me.&lt;/P&gt;&lt;P&gt;Can you upload your required result in Excel or table format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604646#M479005</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-19T09:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604647#M479006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, there is a small example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604647#M479006</guid>
      <dc:creator />
      <dc:date>2014-02-19T10:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604648#M479007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you didn't get it properly.&lt;/P&gt;&lt;P&gt;We requested you to give us your required output in Excel or Table format, as we are unclear about your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604648#M479007</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-19T10:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604649#M479008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Egor Canu Try follwing Script&lt;/P&gt;&lt;P&gt;TotalReceiptsRus:&lt;/P&gt;&lt;P&gt;LOAD sap_id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store_id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id &amp;amp; cash_id as key, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount, &lt;/P&gt;&lt;P&gt;If(amount&amp;lt;100,'0-100',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;200,'100-200',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;300,'200-300',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;400,'300-400',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;500,'400-500',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;600,'500-600',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;700,'600-700',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;800,'700-800',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;900,'800-900',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(amount&amp;lt;1000,'900-1000',)))))))))) AS Interval_Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604649#M479008</guid>
      <dc:creator />
      <dc:date>2014-02-19T10:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604650#M479009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, sorry. There is required output in Excel with explanation.&lt;/P&gt;&lt;P&gt;I don't have problem with Receipt intervals, they are already done in table. The main problem is in counting customers, that have certain number of receipts (1) in certain interval(100-200).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604650#M479009</guid>
      <dc:creator />
      <dc:date>2014-02-19T10:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604651#M479010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but I am still unclear due to your format of excel file.&lt;/P&gt;&lt;P&gt;If you give us exact format then only can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604651#M479010</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-19T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604652#M479011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Comm.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53453_Comm.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604652#M479011</guid>
      <dc:creator />
      <dc:date>2014-02-19T10:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604653#M479012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;am also confused please have look at images&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604653#M479012</guid>
      <dc:creator />
      <dc:date>2014-02-19T10:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604654#M479013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exact format is in Example.xlsx. this is how table should look like. in Example.qvw is my variant of this table, but it doesn't suit, because of insensitivity to current selection. Can you clearify what exactly is unclear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 11:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604654#M479013</guid>
      <dc:creator />
      <dc:date>2014-02-19T11:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604655#M479014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, lets try to explain how I tried to solve the problem.&lt;/P&gt;&lt;P&gt;Table with data&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;ClientID&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;ReceiptSum&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;ReceiptInterval&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;11&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;101&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;100-200&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;01/01/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;11&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;120&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;100-200&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;01/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;11&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;50&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;0-100&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;02/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;22&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;70&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;0-100&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;01/05/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;22&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;150&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;100-200&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;10/01/2014&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I transformed to another table in script reload&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count (ClientID) as Count_of_receipts,&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ClientID ,&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ReceiptInterval&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident TotalReceipts Group by ReceiptInterval, ClientID;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Result is next:&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Calc_Table:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;Count_of_receipts&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;ClientID&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;ReceiptInterval&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;11&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;0-100&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;11&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;100-200&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;22&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;0-100&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;22&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;100-200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Then using this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;Calc_Table&lt;/SPAN&gt; i build the pivot table&lt;/P&gt;&lt;P&gt;dimensions:&lt;/P&gt;&lt;P&gt;-count_of_receipts&lt;/P&gt;&lt;P&gt;-ReceiptInterval&lt;/P&gt;&lt;P&gt;expression: count(ClientID). as it should look like (see images and examples)&lt;/P&gt;&lt;P&gt;BUT. Because of calculation table in script I can't update pivot table after selections&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 11:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604655#M479014</guid>
      <dc:creator />
      <dc:date>2014-02-19T11:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot table with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604656#M479015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, finally I built required table, but in very unusual way. Basically it is not a table,but 2dimension array of text objects. Every object contains expression like: &lt;/P&gt;&lt;P&gt;=Count ({$}If(Aggr(Count({$&amp;lt;ReceiptInterval={'&lt;STRONG&gt;100-200&lt;/STRONG&gt;'}&amp;gt;}card_number),card_number)=&lt;STRONG&gt;1&lt;/STRONG&gt;,card_number) )&lt;/P&gt;&lt;P&gt;Next object has the same expression, but with another ReceiptInterval and\or Count value:&lt;/P&gt;&lt;P&gt;=Count ({$}If(Aggr(Count({$&amp;lt;ReceiptInterval={'&lt;STRONG&gt;200-300&lt;/STRONG&gt;'}&amp;gt;}card_number),card_number)=&lt;STRONG&gt;1&lt;/STRONG&gt;,card_number) )&lt;/P&gt;&lt;P&gt;=Count ({$}If(Aggr(Count({$&amp;lt;ReceiptInterval={'&lt;STRONG&gt;200-300&lt;/STRONG&gt;'}&amp;gt;}card_number),card_number)=&lt;STRONG&gt;2&lt;/STRONG&gt;card_number) )&lt;/P&gt;&lt;P&gt;=Count ({$}If(Aggr(Count({$&amp;lt;ReceiptInterval={'&lt;STRONG&gt;200-300&lt;/STRONG&gt;'}&amp;gt;}card_number),card_number)=&lt;STRONG&gt;3&lt;/STRONG&gt;card_number) )&lt;/P&gt;&lt;P&gt;This "table" doesn't work very fast, but it is the only way i found...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 06:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-with-set-analysis/m-p/604656#M479015</guid>
      <dc:creator />
      <dc:date>2014-02-21T06:25:26Z</dc:date>
    </item>
  </channel>
</rss>

