<?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: Aggregating by filtered Textbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329956#M121513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran, Thank you for the response !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN - is the amount, I am trying to aggregate by week of the quarter. So, WEEK_NUM is a dimension, with members 1 through 13. I have a WEEK_NUM listbox in which I select&amp;nbsp; weeks and as a result i have&amp;nbsp; the sum of MGMT_DIRECT_PLAN by selected weeks. I have variable Total &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;=SUM&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SEP-11Q'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,2,3,4,5,6,7,8,9,10,11,12,13}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;that gives me a total of weeks 1 through 13 regardless of what i have selected&amp;nbsp; in teh WEEK_NUM textbox. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;What I am building is a calculated field, amount of through selected week as a percentage of total&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;.So what I need to build is&amp;nbsp; something like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SEP-11Q'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,2,3,4,5,6,7}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SEP-11Q'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,2,3,4,5,6,7,8,9,10,11,12,13}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;But I would prefer the nominator to be a live variable, that is to respond what I select in the listbox WEEK_NUM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Thank you again !&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 18:29:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-01T18:29:50Z</dc:date>
    <item>
      <title>Aggregating by filtered Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329954#M121511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;He&lt;SPAN style="color: #000000;"&gt;llo All,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 8pt; font-family: 'Arial','sans-serif';"&gt;Below is the formula for my calculated field in the QV Pivot that aggregates sum by WEEK_NUM, how can I aggregate the sum by what I select in the WEEK_NUM listbox ? That is if the weeks selected in WEEK_NUM list box show up in the WEEK_NUM=()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SEP-11Q'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,2,3,4,5,6,7,8,9,10,11,12,13}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Michael.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 20:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329954#M121511</guid>
      <dc:creator />
      <dc:date>2012-07-31T20:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating by filtered Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329955#M121512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the expression needs to repond to the selections, please remove WEEK_NUM from set analysis. I am not sure if I understand you correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However you can try adding the following expression instead of hardcoding the numbers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WEEK_NUM = {"$(=Concat(WEEK_NUM,','))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 22:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329955#M121512</guid>
      <dc:creator />
      <dc:date>2012-07-31T22:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating by filtered Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329956#M121513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran, Thank you for the response !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN - is the amount, I am trying to aggregate by week of the quarter. So, WEEK_NUM is a dimension, with members 1 through 13. I have a WEEK_NUM listbox in which I select&amp;nbsp; weeks and as a result i have&amp;nbsp; the sum of MGMT_DIRECT_PLAN by selected weeks. I have variable Total &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;=SUM&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SEP-11Q'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,2,3,4,5,6,7,8,9,10,11,12,13}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;that gives me a total of weeks 1 through 13 regardless of what i have selected&amp;nbsp; in teh WEEK_NUM textbox. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;What I am building is a calculated field, amount of through selected week as a percentage of total&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;.So what I need to build is&amp;nbsp; something like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SEP-11Q'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,2,3,4,5,6,7}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SEP-11Q'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,2,3,4,5,6,7,8,9,10,11,12,13}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MGMT_DIRECT_PLAN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;But I would prefer the nominator to be a live variable, that is to respond what I select in the listbox WEEK_NUM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt;Thank you again !&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 18:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329956#M121513</guid>
      <dc:creator />
      <dc:date>2012-08-01T18:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating by filtered Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329957#M121514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran, Thank you for the response ! MGMT_DIRECT_PLAN - is the amount, I am trying to aggregate by week of the quarter. So, WEEK_NUM is a dimension, with members 1 through 13. I have a WEEK_NUM listbox in which I select&amp;nbsp; weeks and as a result i have&amp;nbsp; the sum of MGMT_DIRECT_PLAN by selected weeks. I have variable Total =SUM ({$} MGMT_DIRECT_PLAN) that gives me a total of weeks 1 through 13 regardless of what i have selected&amp;nbsp; in teh WEEK_NUM textbox. What I am building is a calculated field, amount of through selected week as a percentage of total .So what I need to build is&amp;nbsp; something like this SUM ({$} MGMT_DIRECT_PLAN) / SUM ({$} MGMT_DIRECT_PLAN) But I would prefer the numerator to be a live variable, that is to respond what I select in the listbox WEEK_NUM Thank you again !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 19:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-by-filtered-Textbox/m-p/329957#M121514</guid>
      <dc:creator />
      <dc:date>2012-08-01T19:02:51Z</dc:date>
    </item>
  </channel>
</rss>

