<?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: Chart Row expression vs Totals Mode issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574414#M442396</link>
    <description>&lt;P&gt;Your screen shot is corrupted. Upload a new one.&lt;/P&gt;&lt;P&gt;From my understanding, you can use Expression total or sum of rows in Expression tab Total Mode option.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2019 11:53:06 GMT</pubDate>
    <dc:creator>Vengatesh</dc:creator>
    <dc:date>2019-04-29T11:53:06Z</dc:date>
    <item>
      <title>Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574386#M442393</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I hope the screenshot is self explaining.&lt;/P&gt;&lt;P&gt;My expression for column C is simply deviding 2 columns&amp;nbsp;A and B by eachother&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Total lines of column A and B are set to sum.&lt;/P&gt;&lt;P&gt;How to get the Total line of C to match the total of A / total of B.&lt;/P&gt;&lt;P&gt;I have tried with sum aggr total... but fail to get the result i am looking for.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 4_29_2019 , 12_45_54 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11086iB47CD8740833279B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 4_29_2019 , 12_45_54 PM.png" alt="Screenshot - 4_29_2019 , 12_45_54 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 11:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574386#M442393</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-29T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574414#M442396</link>
      <description>&lt;P&gt;Your screen shot is corrupted. Upload a new one.&lt;/P&gt;&lt;P&gt;From my understanding, you can use Expression total or sum of rows in Expression tab Total Mode option.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 11:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574414#M442396</guid>
      <dc:creator>Vengatesh</dc:creator>
      <dc:date>2019-04-29T11:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574418#M442397</link>
      <description>&lt;P&gt;Does this work ?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QV_Chart_Totals.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11090i3379F5F3A6361CB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="QV_Chart_Totals.png" alt="QV_Chart_Totals.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 11:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574418#M442397</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-29T11:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574426#M442398</link>
      <description>&lt;P&gt;Instead of sum of Rows. Use the Above option Expression Total&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 12:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574426#M442398</guid>
      <dc:creator>Vengatesh</dc:creator>
      <dc:date>2019-04-29T12:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574548#M442407</link>
      <description>&lt;P&gt;I tried "Expression Total" already.&lt;/P&gt;&lt;P&gt;Its resulting in a '-' as total.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Exp_Total.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11106iF871F530E95D7F23/image-size/large?v=v2&amp;amp;px=999" role="button" title="Exp_Total.png" alt="Exp_Total.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 14:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574548#M442407</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-29T14:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574580#M442409</link>
      <description>&lt;P&gt;Adding a simplified QVW&lt;/P&gt;&lt;P&gt;How to get the totals of A/B --&amp;gt; 11/8 =&amp;nbsp;1.375&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 4_29_2019 , 5_11_56 PM.png" style="width: 699px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11110i02A233B913816288/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 4_29_2019 , 5_11_56 PM.png" alt="Screenshot - 4_29_2019 , 5_11_56 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 15:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574580#M442409</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-29T15:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574826#M442442</link>
      <description>&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;Also you can use Column(1)/Column(2)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574826#M442442</guid>
      <dc:creator>Vengatesh</dc:creator>
      <dc:date>2019-04-30T07:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574885#M442449</link>
      <description>&lt;P&gt;Unfortunately real life is a bit more complex than the example i attached previously.&lt;/P&gt;&lt;P&gt;I tried to make my demo qvw 1 step closer to what i have in reality...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Putting the SUM(A)/SUM(B) as you proposed is returning "-" in the sample attached same as it does in my real life scenario.&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 4_30_2019 , 10_54_26 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11166iE3046C2793F2DB36/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 4_30_2019 , 10_54_26 AM.png" alt="Screenshot - 4_30_2019 , 10_54_26 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 08:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574885#M442449</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-30T08:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574899#M442451</link>
      <description>(SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty)*Price)/((SUM({&amp;lt;Type={'Produced'}&amp;gt;}Qty)-SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty))*Coef)&lt;BR /&gt;&lt;BR /&gt;This is the last expression fully written down.&lt;BR /&gt;If i add Sum function around nominator and denominator&lt;BR /&gt;SUM(SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty)*Price)/SUM((SUM({&amp;lt;Type={'Produced'}&amp;gt;}Qty)-SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty))*Coef)&lt;BR /&gt;the entire table goes blank... you can try on the demo2.qvw attached in post above.&lt;BR /&gt;Challenge remains to get the totals of the last column to match this expression.</description>
      <pubDate>Tue, 30 Apr 2019 09:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574899#M442451</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-30T09:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574938#M442456</link>
      <description>&lt;P&gt;Hi Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use below expression for the attached qvw&lt;/P&gt;&lt;P&gt;If(Dimensionality() = 0,sum( total A)/sum(total B),Sum(A)/Sum(B))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kushal&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 10:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574938#M442456</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2019-04-30T10:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574950#M442459</link>
      <description>&lt;P&gt;Kushalthakral,&lt;/P&gt;&lt;P&gt;Sorry NOK... see attached demo2.qvw&lt;/P&gt;&lt;P&gt;If(Dimensionality() = 0,sum( total SCRAPPRICE)/sum(total OKCOEF),Sum(SCRAPPRICE)/Sum(OKCOEF)) gives me "-" on each row.&lt;/P&gt;&lt;P&gt;Replacing the column headers by full expressions gives me error "nested agregation"&lt;/P&gt;&lt;P&gt;If(Dimensionality() = 0,sum( total (SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty)*Price))/sum(total ((SUM({&amp;lt;Type={'Produced'}&amp;gt;}Qty)-SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty))*Coef)),Sum((SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty)*Price))/Sum(((SUM({&amp;lt;Type={'Produced'}&amp;gt;}Qty)-SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty))*Coef)))&lt;/P&gt;&lt;P&gt;I disabled this expression in qvw attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your effort.&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 10:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574950#M442459</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-30T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574953#M442460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please use the expression below&lt;/P&gt;&lt;P&gt;=If(Dimensionality() = 0,Sum(Total Aggr(SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty)*Price,Part,Coef)) / Sum(Total Aggr((SUM({&amp;lt;Type={'Produced'}&amp;gt;}Qty) - SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}Qty))*Coef,Part,Coef)),SCRAPPRICE/OKCOEF)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kushal&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 10:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1574953#M442460</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2019-04-30T10:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1575044#M442473</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clap.gif" style="width: 180px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11187i4B06FD6421589E19/image-size/large?v=v2&amp;amp;px=999" role="button" title="clap.gif" alt="clap.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;=If(Dimensionality() = 0,Sum(Total Aggr(SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}[#Defected parts amount])*#Price,Tool,#EQU)) / Sum(Total Aggr((SUM([#Produced parts]) - SUM({&amp;lt;Type={'SCRAP'}&amp;gt;}[#Defected parts amount]))*#EQU,Tool,#EQU)),SCRAPPRICE/OKEQU)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 4_30_2019 , 2_38_07 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11188i2976169C010714C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 4_30_2019 , 2_38_07 PM.png" alt="Screenshot - 4_30_2019 , 2_38_07 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 12:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1575044#M442473</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-30T12:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Row expression vs Totals Mode issue</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1575045#M442474</link>
      <description>Thank you Kushaltharal !</description>
      <pubDate>Tue, 30 Apr 2019 12:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Row-expression-vs-Totals-Mode-issue/m-p/1575045#M442474</guid>
      <dc:creator>Jan_Wilmsen</dc:creator>
      <dc:date>2019-04-30T12:42:40Z</dc:date>
    </item>
  </channel>
</rss>

