<?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 table / chart issue QV v8.5 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215860#M69265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Materials In" &amp;amp; "Materials Out" in particular&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 12:32:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-15T12:32:15Z</dc:date>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215856#M69261</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;Have an issue where 2 subtotals in the same table are behaving differently to the rest of the subtotals, and don't know why?&lt;/P&gt;&lt;P&gt;Have amended first thoughts to enable sub-totals to appear, but they don't look correct, nor do they appear in the charts?&lt;/P&gt;&lt;P&gt;Have attached an example file&lt;/P&gt;&lt;P&gt;Any ideas greatly appreciated!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;P&gt;(also please let me know if the values are being displayed in your version (if different to v8.5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 17:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215856#M69261</guid>
      <dc:creator />
      <dc:date>2011-02-14T17:41:30Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215857#M69262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the following formula:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=max(Year))}, Material={"=sum({$&amp;lt;Year = {$(=min(Year))}&amp;gt;} Euros)=0"} &amp;gt;} Euros)&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 20:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215857#M69262</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-14T20:42:10Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215858#M69263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for your support Karl, works a treat!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 11:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215858#M69263</guid>
      <dc:creator />
      <dc:date>2011-02-15T11:32:01Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215859#M69264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl,&lt;/P&gt;&lt;P&gt;Having reviewed your formula further, it did correct the "Materials In" subtotal. When applying/modifying the formula to "Materials Out", the subtotal / row data was only returning one of the 6 values that it should have.&lt;/P&gt;&lt;P&gt;Found another way to use my existing formulas, and to get the subtotals working (ie changing to sum of rows).&lt;/P&gt;&lt;P&gt;However, using this approach, I can correct all of my tables to display correctly, but cannot get any values to be displayed on the 2 charts.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 12:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215859#M69264</guid>
      <dc:creator />
      <dc:date>2011-02-15T12:30:36Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215860#M69265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Materials In" &amp;amp; "Materials Out" in particular&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 12:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215860#M69265</guid>
      <dc:creator />
      <dc:date>2011-02-15T12:32:15Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215861#M69266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have added a revised file, detailing what I am trying to achieve in each of the fields...&lt;/P&gt;&lt;P&gt;Appreciate any thoughts/comments...&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 17:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215861#M69266</guid>
      <dc:creator />
      <dc:date>2011-02-15T17:57:18Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215862#M69267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;Here's a new formula&lt;/P&gt;&lt;P&gt;-sum({$&amp;lt;Year = {$(=min(Year))}, Material= E({1&amp;lt;Year={$(=max(Year))}&amp;gt;}) + {"=sum({$&amp;lt;Year = {$(=max(Year))}&amp;gt;} Euros)=0"}&amp;gt;} Euros)&lt;/P&gt;&lt;P&gt;which basically means to consider Material that was excluded from any transaction during the max year or had transactions that summed 0 euros in the max year.&lt;/P&gt;&lt;P&gt;It seems to work fine in your graph, too.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 00:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215862#M69267</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-16T00:49:02Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215863#M69268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl,&lt;/P&gt;&lt;P&gt;Thanks for your response!&lt;/P&gt;&lt;P&gt;Using your revised formula, I am not getting the results that you state you are getting (ie revised formula in my version (QV v8.5) is returning "-" in all instances)&lt;/P&gt;&lt;P&gt;Unsure if this is a bug with QV8.5, or there is an issue with the formula?&lt;/P&gt;&lt;P&gt;Have updated the file, creating a "Mats Test" col&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 10:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215863#M69268</guid>
      <dc:creator />
      <dc:date>2011-02-16T10:41:09Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215864#M69269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;Solution attached - hopefully; it works for me in v9.&lt;/P&gt;&lt;P&gt;Again it's 'Set Analysis Aggregation' to the rescue:&lt;/P&gt;&lt;P&gt;The 'Materials In' formula:&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;aggr&lt;/B&gt;((&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;sum&lt;/B&gt;({$&amp;lt;&lt;B&gt;Year&lt;/B&gt; = {&lt;B&gt;&lt;I&gt;$(=min(Year))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;Euros&lt;/B&gt;)=0,&lt;B&gt;sum&lt;/B&gt;({$&amp;lt;&lt;B&gt;Year&lt;/B&gt; = {&lt;B&gt;&lt;I&gt;$(=max(Year))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;Euros&lt;/B&gt;),0)),&lt;B&gt;Material&lt;/B&gt;))&lt;/P&gt;&lt;P&gt;The issue is due to the lack of a dimension on the chart - in the table each line is being passed through the 'if' expression and can pass or fail accordingly. Setting the Total Mode to 'Expression Total' fails as the 'whole' fails the 'if' and therefore returns 0, 'Sum of Rows' works in the table as it's doing exactly that; summing the individual lines that have either passed or failed the 'if' - I would have expected that to work in the chart.&lt;/P&gt;&lt;P&gt;So the soution works by using the 'aggr()' function to put each line (Material) through the 'if' and then sum the results - just as the table does with 'Sum of Rows' so we get the same results.&lt;/P&gt;&lt;P&gt;I found the easiest way to test this was to drop the expression into a Text box and get that to match.&lt;/P&gt;&lt;P&gt;I'd recommend having a look at aggr() as it's really useful in these more complex situations.&lt;/P&gt;&lt;P&gt;Hope that helps, any further issues let me know.&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 12:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215864#M69269</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-02-16T12:15:28Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215865#M69270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;Once again many thanks for your tip, this small change makes a big difference!!&lt;/P&gt;&lt;P&gt;Also, thanks for the explanation, "give a man a fish..." &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 14:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215865#M69270</guid>
      <dc:creator />
      <dc:date>2011-02-16T14:50:21Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215866#M69271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt / All,&lt;/P&gt;&lt;P&gt;Am trying to apply the "Aggr" function to overcome similar problems found in earlier example.&lt;/P&gt;&lt;P&gt;This formula is only a little more complex than the past, although am unsure where exactly the " aggr((( " " ),Material) " ought to be placed in this example:&lt;/P&gt;&lt;P&gt;The below formula returns data as it should in a table, now need to modify it so that its "Graph" friendly...&lt;/P&gt;&lt;P&gt;______________________________________&lt;/P&gt;&lt;P&gt;if(sum({$&amp;lt;Year = {$(=min(Year))}&amp;gt;} QtyKG)=0&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=max(Year))}&amp;gt;} QtyKG)=0&lt;/P&gt;&lt;P&gt;,0&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;Year = {$(=max(Year))}&amp;gt;} QtyKG/1000)&lt;BR /&gt;-&lt;BR /&gt;sum({$&amp;lt;Year = {$(=min(Year))}&amp;gt;} QtyKG/1000))&lt;BR /&gt;*&lt;BR /&gt;sum({$&amp;lt;Year = {$(=max(Year))}&amp;gt;} Euros/1000)/sum({$&amp;lt;Year = {$(=max(Year))}&amp;gt;} QtyKG/1000)&lt;/P&gt;&lt;P&gt;___________________________________&lt;/P&gt;&lt;P&gt;Initial thoughts were to only have one "sum(Aggr((...." &amp;amp; " ....),Material)) " at the begining or the end, but did not give the desired results.&lt;/P&gt;&lt;P&gt;Tried putting these statements after the "IF" statement, and wasn't seeing what I hoped to&lt;/P&gt;&lt;P&gt;Also tried adding "Aggr((" &amp;amp; "),Material))" in each of the formulae that orginal just had a "sum("&lt;/P&gt;&lt;P&gt;Anyone with any thoughts?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 17:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215866#M69271</guid>
      <dc:creator />
      <dc:date>2011-02-16T17:17:46Z</dc:date>
    </item>
    <item>
      <title>table / chart issue QV v8.5</title>
      <link>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215867#M69272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please ignore the above, I was missing a ")". Solution works fine with the "sum(Agg(( " &amp;amp; "),Materials))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 19:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-chart-issue-QV-v8-5/m-p/215867#M69272</guid>
      <dc:creator />
      <dc:date>2011-02-16T19:17:15Z</dc:date>
    </item>
  </channel>
</rss>

