<?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: Calculation on Totals row values help please.... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844074#M296485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It makes sense to calculate it out of the chart.&amp;nbsp; For example in a text box, or better in the chart's window title.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 17:04:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-28T17:04:49Z</dc:date>
    <item>
      <title>Calculation on Totals row values help please....</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844073#M296484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table.&lt;/P&gt;&lt;P&gt;A dimension column with Invoice $ values, another expression column calculating the Invoice $ value * a Days to payment expression.&lt;/P&gt;&lt;P&gt;Which basically gives me a weighted value of those $ invoiced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can throw up a Total row... giving me the TOTAL of the Invoice $, and the TOTAL of the $ Weighting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to achieve in the end... is to have a value of the TOTAL of the $ Weighting / TOTAL of the Invoice Amount.&lt;/P&gt;&lt;P&gt;I can run this in an expression on a row by basis.. .which is basically just that rows "Days to payment" value... but I want to see the Overall DPO based on the TOTAL of those columns....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how to accomplish this... any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;Screen shot of straight table attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 16:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844073#M296484</guid>
      <dc:creator />
      <dc:date>2015-04-28T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation on Totals row values help please....</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844074#M296485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It makes sense to calculate it out of the chart.&amp;nbsp; For example in a text box, or better in the chart's window title.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 17:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844074#M296485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-28T17:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation on Totals row values help please....</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844075#M296486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m unfortunately pretty novice and haven’t done either those options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 17:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844075#M296486</guid>
      <dc:creator />
      <dc:date>2015-04-28T17:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation on Totals row values help please....</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844076#M296487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess what I'm trying to determine...is how in the TEXT Object can I specify that I want to divide the Total value of the Invoice $ Weighting expression's column, by the Total value of the Check Amount column.&lt;/P&gt;&lt;P&gt;Those values in the chart are dynamic, and really fields that I can grab into the Text Object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 15:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844076#M296487</guid>
      <dc:creator />
      <dc:date>2015-04-29T15:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation on Totals row values help please....</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844077#M296488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be a text object with a text that starts with the "=" sign, for example, for average size of sales it would be&lt;/P&gt;&lt;P&gt;=sum(Sales)/count(Sales)&lt;/P&gt;&lt;P&gt;and, to format in a way you want, you can use a formatting function, e.g.:&lt;/P&gt;&lt;P&gt;=num(sum(Sales)/count(Sales),'#,##0.00')&lt;/P&gt;&lt;P&gt;In you case, I assume it will be&lt;/P&gt;&lt;P&gt;=&amp;lt;expression for Total value&amp;gt;/&amp;lt;expression for Invoice $ Weighting&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 16:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844077#M296488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-29T16:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation on Totals row values help please....</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844078#M296489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much...&lt;/P&gt;&lt;P&gt;After quite a bit of toying around with your suggestions as a base... ended up coming up with this... that succeeded in returning the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Weighted DPO:'&amp;amp;NUM(SUM(((aggr(avg(num([Check Date])-num([Invoice Date])),[KEY_CompanyInvoiceNumberVendorNum]))*[Invoice $]))/(Sum([Check Amount])),'#,##0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 16:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844078#M296489</guid>
      <dc:creator />
      <dc:date>2015-04-29T16:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation on Totals row values help please....</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844079#M296490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, you got the idea &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more hint - if you want to have the number on the new line, add chr(10) or chr(13). It will be&lt;/P&gt;&lt;P&gt;='Weighted DPO:'&amp;amp;&lt;STRONG&gt;chr(10)&amp;amp;&lt;/STRONG&gt; NUM(SUM...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 16:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-Totals-row-values-help-please/m-p/844079#M296490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-29T16:33:54Z</dc:date>
    </item>
  </channel>
</rss>

