<?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: Aggregation function Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734202#M1064240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have another question now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried making a bar chart out of this information now and it doesnt respect my selections. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;The excluded selections in my dimensions still appear in my graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 21:26:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-18T21:26:55Z</dc:date>
    <item>
      <title>Aggregation function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734199#M1064237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qview Community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relatively new to qlikvew and I did a couple of tutorials, but now I've reached a problem that I can't solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a big DB and there is an expression I can't seem to do properly. This is a simplified part of it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="211.18181824684143" 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 #000000; width: 793.181818246841px; height: 213.181818246841px;"&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;P&amp;amp;L&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;YrMth&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Value&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Logistics&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201401&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Commission&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201401&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Labor&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;201401&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Sales&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;201401&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Other&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;201401&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Logistics&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201402&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Comission&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;201402&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;400&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Labor&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;201402&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Sales&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;201402&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Other&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;201402&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is a Pivot table where the dimensions are [P&amp;amp;L] and [Yr/Mth]. In the expressions I'd like to see sum(Value) and it's ratio to the sales relative to that month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the following expression: sum(Value) / sum({$&amp;lt;[P&amp;amp;L] = {'Sales'}&amp;gt;} Value). But I only get information in the "Sales" line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that this may be obvious to some, but I still don't have the Qlikview "mentality" going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried aggr(sum( {$&amp;lt; [P&amp;amp;L]={'Sales'} &amp;gt;} Value&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;), [P&amp;amp;L], [Yr/Mth]). I tried using TOTAL but it gives me the total for all the months and I'd like it to calculate for each month, without having to select that specific month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 18:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734199#M1064237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T18:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734200#M1064238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a solution for the % of total by YrMnth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum( Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum( total &amp;lt;YrMth&amp;gt; {$&amp;lt;[P&amp;amp;L]={'Sales'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67146_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 18:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734200#M1064238</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-18T18:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734201#M1064239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the fast response!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 18:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734201#M1064239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T18:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734202#M1064240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have another question now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried making a bar chart out of this information now and it doesnt respect my selections. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;The excluded selections in my dimensions still appear in my graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734202#M1064240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T21:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734203#M1064241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So a line chart gets tricky with 2 dimensions and 2 measures. (which is what we have above). 2 dimensions and 1 measure is ok and 1 dimension and 2 measures.&amp;nbsp; You can do 2 dims and 2 measures in a stacked bar chart where both measures are on the same axis... but that is pretty specific.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a picture of the line chart you have in mind ?&amp;nbsp; I'm thinking maybe have 2 charts...1 for each expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 02:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-function-Problem/m-p/734203#M1064241</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-19T02:35:40Z</dc:date>
    </item>
  </channel>
</rss>

