<?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: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013). in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575502#M478514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that case, when you do NOT have any sales_data for a specific week last year - will there be a 0 or just nothing?&lt;/P&gt;&lt;P&gt;=&amp;gt; Depending on that, you have to build your query.&lt;/P&gt;&lt;P&gt;With set_analysis, it's actually not that hard.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 07:10:00 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-03-14T07:10:00Z</dc:date>
    <item>
      <title>Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575501#M478513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Help please! Need to calculate the sum of the week for the current year (eg 2014) but provided that if for that same week had data for the last year (2013). If data for the same week last year was not - sale this week should not be exposed to the sum. And painfully hard ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 06:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575501#M478513</guid>
      <dc:creator>antonrus</dc:creator>
      <dc:date>2014-03-14T06:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575502#M478514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that case, when you do NOT have any sales_data for a specific week last year - will there be a 0 or just nothing?&lt;/P&gt;&lt;P&gt;=&amp;gt; Depending on that, you have to build your query.&lt;/P&gt;&lt;P&gt;With set_analysis, it's actually not that hard.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 07:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575502#M478514</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-03-14T07:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575503#M478515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(I do not speak in English, and could not quite understand). In the table, if there are no sales (Summ) then there is no record on the week against. &lt;/P&gt;&lt;P&gt;Probably using set_analysis it is not difficult to do but I can not for several days of heavy ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 07:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575503#M478515</guid>
      <dc:creator>antonrus</dc:creator>
      <dc:date>2014-03-14T07:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575504#M478516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just tried it out:&lt;/P&gt;&lt;P&gt;=&amp;gt; In this case, a simple IF()_construct should be sufficient:&lt;/P&gt;&lt;P&gt;=&amp;gt; Change your formula for 2014 to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;&amp;gt; IF(SUM&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'2013'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Summ&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; &amp;lt;&amp;gt; 0, SUM&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'2014'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Summ&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;lt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;==&amp;gt;&amp;gt; That way, your sales_data for 2014 will only be displayed in case the sales_data for 2013 is &amp;lt;&amp;gt;0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DataNibbler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 07:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575504#M478516</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-03-14T07:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575505#M478517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="338"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="18" width="56"&gt;RestNum&lt;/TD&gt;&lt;TD class="xl64" width="102"&gt; IF(SUM ({&amp;lt;year={'2013'}&amp;gt;} Summ)&amp;nbsp; &amp;gt; 0, SUM ({&amp;lt;year={'2014'}&amp;gt;} Summ)) &lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="90"&gt;2013&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="90"&gt;2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="18" style="border-top: none;"&gt;55980&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;149 113&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;125 871&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;149 113&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="18" style="border-top: none;"&gt;56284&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;82 243&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;229 575&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;82 243&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="18" style="border-top: none;"&gt;56525&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;105 941&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;236 492&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;105 941&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="18" style="border-top: none;"&gt;59045&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;38 485&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="18" style="border-top: none;"&gt;60385&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;77 555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="18"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-left: none;"&gt;453 337&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-left: none;"&gt;591 938&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-left: none;"&gt;453 337&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Thank you. These really are not displayed if in 2013 there were no sales! But the amount is still considered full. And should that be not considered. Help please! ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 07:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575505#M478517</guid>
      <dc:creator>antonrus</dc:creator>
      <dc:date>2014-03-14T07:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575506#M478518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahtoh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result for each RestNum seems to be correct.&lt;/P&gt;&lt;P&gt;* If you have 0 in 2013, you get a Null() result: the dash: -&lt;/P&gt;&lt;P&gt;* If you have a result &amp;gt; 0, you have the 2014 data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aggregation is not correct because you get the 2014 sum.&lt;/P&gt;&lt;P&gt;Try to do : sum(aggr(YourCurrentExpressionWithTheIF, RestNum))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575506#M478518</guid>
      <dc:creator />
      <dc:date>2014-03-14T08:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575507#M478519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel that you are right! But with such a formula he believes all the data again. I do not understand ..: (&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575507#M478519</guid>
      <dc:creator>antonrus</dc:creator>
      <dc:date>2014-03-14T08:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575508#M478520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will do a test&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575508#M478520</guid>
      <dc:creator />
      <dc:date>2014-03-14T08:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575509#M478521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no words as you will be grateful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575509#M478521</guid>
      <dc:creator>antonrus</dc:creator>
      <dc:date>2014-03-14T08:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575510#M478522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahtoh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a db of mine, I have done that:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;sum&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Customer&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"=sum({&amp;lt;Month={3}&amp;gt;} Amount)&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I get only the customers where the Amount for the 3d month &amp;gt; 0. I have a good total. There is a set (sum &amp;gt; 0) into a set (on customer that I want to limit).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;For you, if I transpose to your db, try sth like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;RestNum={"=sum({&amp;lt;Year={2013}&amp;gt;}, Summ) &amp;gt; 0"}&amp;gt;} Summ)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575510#M478522</guid>
      <dc:creator />
      <dc:date>2014-03-14T08:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575511#M478523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 382px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" width="56"&gt;week&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="146"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="90"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="90"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="55"&gt;RestNum&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none;" width="146"&gt;sum({&amp;lt;RestNum={"=sum({&amp;lt;Year={2013}&amp;gt;}, Summ) &amp;gt; 0"}&amp;gt;} Summ)&lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;2013&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="18" style="border-top: none;"&gt;55980&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;125 871&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;149 113&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="18" style="border-top: none;"&gt;56284&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;229 575&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;82 243&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="18" style="border-top: none;"&gt;56525&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;236 492&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;105 941&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="18" style="border-top: none;"&gt;59045&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;38 485&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="18" style="border-top: none;"&gt;60385&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;77 555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="18"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-left: none;"&gt;591 938&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-left: none;"&gt;453 337&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I now have shows all zeros .. (I can not ask you but if still possible - attach file structure in the first message - it can accurately check all)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 09:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575511#M478523</guid>
      <dc:creator>antonrus</dc:creator>
      <dc:date>2014-03-14T09:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575512#M478524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible because I have the Personal Edition (I would ahve attached it and done the test with your data)&lt;/P&gt;&lt;P&gt;Sorry for that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Picture 1&lt;/P&gt;&lt;P&gt;A pivot table with the corresponding syntax&lt;/P&gt;&lt;P&gt;A pivot table with Sum(Amount) to show the stucture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Picture 2&lt;/P&gt;&lt;P&gt;The first pivot table, I have added Sum(Amount) to show that the syntax returns 0 in that case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot attach your qvw, you will be able to attach mine. That is the last sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 09:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575512#M478524</guid>
      <dc:creator />
      <dc:date>2014-03-14T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575513#M478525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to happen, I am very grateful to you, thank you very much! You helped me a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575513#M478525</guid>
      <dc:creator>antonrus</dc:creator>
      <dc:date>2014-03-14T13:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum of the week for the current year (eg 2014), but on the condition that if in this same week data were last year (2013).</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575514#M478526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are the wellcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 14:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-sum-of-the-week-for-the-current-year-eg-2014-but/m-p/575514#M478526</guid>
      <dc:creator />
      <dc:date>2014-03-14T14:28:16Z</dc:date>
    </item>
  </channel>
</rss>

