<?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 Time Change Formulas in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182746#M48249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot nest the sum function in QlikView. Instead give the following expression a try:&lt;/P&gt;&lt;P&gt;sum(if (InYear (Mdate, Today(), 0, 7),([Price Ext] - [Cost EXT])/[Price Ext]))&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jan 2011 18:42:36 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2011-01-24T18:42:36Z</dc:date>
    <item>
      <title>Time Change Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182745#M48248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am able to use the formula below to calculate at %, but when I use this same formula on the "time chart" wizard it does not produce the same results.&lt;/P&gt;&lt;P&gt;Original:&lt;/P&gt;&lt;P&gt;(Sum ([Price Ext]) - Sum([Cost EXT]))/Sum ([Price Ext])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time Chart Wizard&lt;/P&gt;&lt;P&gt;sum(if (InYear (Mdate, Today(), 0, 7),(Sum ([Price Ext]) - Sum([Cost EXT]))/Sum ([Price Ext])))&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182745#M48248</guid>
      <dc:creator />
      <dc:date>2011-01-24T18:32:46Z</dc:date>
    </item>
    <item>
      <title>Time Change Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182746#M48249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot nest the sum function in QlikView. Instead give the following expression a try:&lt;/P&gt;&lt;P&gt;sum(if (InYear (Mdate, Today(), 0, 7),([Price Ext] - [Cost EXT])/[Price Ext]))&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182746#M48249</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-01-24T18:42:36Z</dc:date>
    </item>
    <item>
      <title>Time Change Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182747#M48250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Karl, but it is calculating each individual transaction and then summing them up at the end. This would not be an issue if I was not looking at %. Any other ideas?&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Calculation: 59,470.1%&lt;/P&gt;&lt;P&gt;Actual: 23.3%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 20:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182747#M48250</guid>
      <dc:creator />
      <dc:date>2011-01-24T20:13:11Z</dc:date>
    </item>
    <item>
      <title>Time Change Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182748#M48251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point.&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;sum(if (InYear (Mdate, Today(), 0, 7),([Price Ext] - [Cost EXT]))&lt;BR /&gt;/&lt;BR /&gt;sum(if (InYear (Mdate, Today(), 0, 7),([Price Ext]))&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 20:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182748#M48251</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-01-24T20:22:44Z</dc:date>
    </item>
    <item>
      <title>Time Change Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182749#M48252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to take it down one more level to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(if (InYear (Mdate, Today(), 0, 7),[Price Ext])) -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if (InYear (Mdate, Today(), 0, 7),[Cost EXT]))) /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if (InYear (Mdate, Today(), 0, 7),[Price Ext]))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help Karl.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 23:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182749#M48252</guid>
      <dc:creator />
      <dc:date>2011-01-24T23:19:12Z</dc:date>
    </item>
    <item>
      <title>Time Change Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182750#M48253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post the min and max expression of the gauge and the main expression to get a better idea or what is going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 00:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Change-Formulas/m-p/182750#M48253</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-01-25T00:32:56Z</dc:date>
    </item>
  </channel>
</rss>

