<?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 Aggr() question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-question/m-p/498179#M186181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having touble with some analysis that is sure to be difficult to explain in text. I have two corresponding abstracts that show cell phone voice minute usage (with a dimension of pre-loaded buckets) and an accompanying detail breakdown for the minute usage chart. See below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44229" class="jive-image-thumbnail jive-image" onclick="" alt="Capture.PNG" src="https://community.qlik.com/legacyfs/online/44229_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;When I select a specific bucket, the detail list updates to only includes the numbers that fall in that bucket, like below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44230" class="jive-image-thumbnail jive-image" onclick="" alt="Capture1.PNG" src="https://community.qlik.com/legacyfs/online/44230_Capture1.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to change these graphs slightly. I want to include an input box that allows a user to indicate the number of months for which each number has fallen in its respective bucket. For instance, if I want to look at users who have "0 Minutes of Use" - I want the added functionality to choose only the numbers that have had 0 minutes of use for the past "X" months. I can't do this in the load phase because it needs to update in real time with an input box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not only do I need to have the y values of the bar chart update (I've achieved some sort of success with this expression, where "3" is the # of months I'm looking back at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if((aggr(count(PhoneLineNumber), PhoneLineNumber))&amp;gt;=3, 1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I need to make sure that the SET of values (dimension) is resctriced to only those phone numbers (choosing only those values in the y expression doesn't select those specific phone numbers, it simply chooses to only show that set). I need this to happen because my accompanying graph has expressions like this, where it is updated based on the selection of numbers from its parent graph with the P() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;PhoneLineNumber = P(), UsageDataBands=, UsageVoiceBands= &amp;gt;}DetailReportMonthlyCharge)+&lt;/P&gt;&lt;P&gt;sum({&amp;lt;PhoneLineNumber = P(), UsageDataBands=, UsageVoiceBands= &amp;gt;}DetailReportProratedCharge)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I didn't completely lose you with that explanation. I think I need to update my dimension to have some sort of Aggr() function. Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 23:12:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-18T23:12:18Z</dc:date>
    <item>
      <title>Aggr() question</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-question/m-p/498179#M186181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having touble with some analysis that is sure to be difficult to explain in text. I have two corresponding abstracts that show cell phone voice minute usage (with a dimension of pre-loaded buckets) and an accompanying detail breakdown for the minute usage chart. See below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44229" class="jive-image-thumbnail jive-image" onclick="" alt="Capture.PNG" src="https://community.qlik.com/legacyfs/online/44229_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;When I select a specific bucket, the detail list updates to only includes the numbers that fall in that bucket, like below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44230" class="jive-image-thumbnail jive-image" onclick="" alt="Capture1.PNG" src="https://community.qlik.com/legacyfs/online/44230_Capture1.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to change these graphs slightly. I want to include an input box that allows a user to indicate the number of months for which each number has fallen in its respective bucket. For instance, if I want to look at users who have "0 Minutes of Use" - I want the added functionality to choose only the numbers that have had 0 minutes of use for the past "X" months. I can't do this in the load phase because it needs to update in real time with an input box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not only do I need to have the y values of the bar chart update (I've achieved some sort of success with this expression, where "3" is the # of months I'm looking back at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if((aggr(count(PhoneLineNumber), PhoneLineNumber))&amp;gt;=3, 1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I need to make sure that the SET of values (dimension) is resctriced to only those phone numbers (choosing only those values in the y expression doesn't select those specific phone numbers, it simply chooses to only show that set). I need this to happen because my accompanying graph has expressions like this, where it is updated based on the selection of numbers from its parent graph with the P() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;PhoneLineNumber = P(), UsageDataBands=, UsageVoiceBands= &amp;gt;}DetailReportMonthlyCharge)+&lt;/P&gt;&lt;P&gt;sum({&amp;lt;PhoneLineNumber = P(), UsageDataBands=, UsageVoiceBands= &amp;gt;}DetailReportProratedCharge)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I didn't completely lose you with that explanation. I think I need to update my dimension to have some sort of Aggr() function. Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 23:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-question/m-p/498179#M186181</guid>
      <dc:creator />
      <dc:date>2013-07-18T23:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() question</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-question/m-p/498180#M186182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recomend to you, generate some sample data and post a qvw to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 01:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-question/m-p/498180#M186182</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2013-07-19T01:44:59Z</dc:date>
    </item>
  </channel>
</rss>

