<?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 use Count in Piviot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431473#M160870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;form the buckets in the edit script or expression level,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ( Count(transactions)&amp;gt;=25 and Count(transactions)&amp;lt;=30,'Between 25 - 30',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ( Count(transactions)&amp;gt;=30 and Count(transactions)&amp;lt;=45,'Between 30 - 45',' Above 45 ')) as Buckets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2013 04:45:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-03T04:45:46Z</dc:date>
    <item>
      <title>How to use Count in Piviot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431472#M160869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the no of customers whos amount is between 25 lac - 30 lac in pivot table.&lt;BR /&gt;As in pivot table the same customer having 10 trasactions are agg in one.&lt;BR /&gt;ex- Suppose&amp;nbsp;&amp;nbsp;&amp;nbsp; company A has 3 transactions (5,10,and 15) so its amount will be 30.&amp;nbsp; &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company B has 5 transactions (2,4,5,6,8)&amp;nbsp;&amp;nbsp; so its amount will be 25.&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company C has 4 transactions (2,4,5,6)&amp;nbsp;&amp;nbsp; so its amount will be 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So from&amp;nbsp; above i want to count the total no of company who's amount between &amp;gt;=25 and &amp;lt;=30..&lt;/P&gt;&lt;P&gt;Hence we waant to find out the distinct customers whos transaction is between &amp;gt;=25 and &amp;lt;=30.&lt;/P&gt;&lt;P&gt;As i am using personal edition plz attach the word file. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 04:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431472#M160869</guid>
      <dc:creator />
      <dc:date>2013-06-03T04:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Count in Piviot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431473#M160870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;form the buckets in the edit script or expression level,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ( Count(transactions)&amp;gt;=25 and Count(transactions)&amp;lt;=30,'Between 25 - 30',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ( Count(transactions)&amp;gt;=30 and Count(transactions)&amp;lt;=45,'Between 30 - 45',' Above 45 ')) as Buckets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 04:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431473#M160870</guid>
      <dc:creator />
      <dc:date>2013-06-03T04:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Count in Piviot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431474#M160871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prashant,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;but I dont know how to create bucket and where to write the expression.&lt;BR /&gt;please tell me in detail how to overcome from this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 05:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431474#M160871</guid>
      <dc:creator />
      <dc:date>2013-06-03T05:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Count in Piviot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431475#M160872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in script where you load your table and field Transaction and customer there you put this code and use the field in pivot table &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Rangeonly(If ( transactions&amp;gt;=25 and transactions&amp;lt;=30,Customer)) as 'Between 25 - 30'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;STRONG&gt;hope it helps&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 05:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431475#M160872</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-03T05:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Count in Piviot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431476#M160873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can overcome this in 2 ways, &lt;/P&gt;&lt;P&gt;You have to create bucket in backend like what prashanth told and name as new field ... and plot that new feld in front-end based on requirement. Else write same in if condition in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khadeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 05:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431476#M160873</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-06-03T05:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Count in Piviot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431477#M160874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using following expression in load script.&lt;/P&gt;&lt;P&gt;If ( Count(amount)&amp;gt;=200000 and Count(amount)&amp;lt;=300000,'Between 200000 - 300000',' Above 300000 ') as bucket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in&amp;nbsp;&amp;nbsp; pivot table&amp;nbsp;&amp;nbsp;&amp;nbsp; i am using dimensions&amp;nbsp; customername ,and&amp;nbsp; amount ...&lt;/P&gt;&lt;P&gt;in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression&amp;nbsp;&amp;nbsp; i am using&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my pivot table shows three columns&amp;nbsp; customername ,&amp;nbsp; amount and sum(amount)...&lt;BR /&gt;so depending on sum(amount) i want to use the bucket....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i done with bucket in script ...it is giving me list box named as Bucket...but when i check on the value it is not making any changes....mit be bcz i want values to be in sum(amount ) column...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 06:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Count-in-Piviot-table/m-p/431477#M160874</guid>
      <dc:creator />
      <dc:date>2013-06-03T06:01:07Z</dc:date>
    </item>
  </channel>
</rss>

