<?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: Sum by quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699882#M725033</link>
    <description>&lt;P&gt;Does anybody know how to do it?&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 15:09:23 GMT</pubDate>
    <dc:creator>brunolelli87</dc:creator>
    <dc:date>2020-05-07T15:09:23Z</dc:date>
    <item>
      <title>Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699164#M725025</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I have an excel spreadsheet with the following format:&lt;/P&gt;&lt;TABLE width="578px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;&lt;STRONG&gt;Ticker&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;&lt;STRONG&gt;Periodo&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;&lt;STRONG&gt;Ativo Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;&lt;STRONG&gt;Ativo Circulante&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;&lt;STRONG&gt;Disponibilidades&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="40px"&gt;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="40px"&gt;31/12/2019&lt;/TD&gt;&lt;TD width="128px" height="40px"&gt;182347169,8&lt;/TD&gt;&lt;TD width="118px" height="40px"&gt;26470174,72&lt;/TD&gt;&lt;TD width="127px" height="40px"&gt;&lt;P&gt;11905&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/09/2019&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;171856281,6&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;21212354,56&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;51645&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/06/2019&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;175201058,8&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;16937673,73&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;18392&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/03/2019&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;180858191,9&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;20059187,2&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;58415&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/12/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;198186549,2&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;18694776,83&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;3385456,896&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/09/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;196365320,2&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;12278881,28&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;665008&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/06/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;192919715,8&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;12151491,58&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;636017,984&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;&amp;nbsp;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/03/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;185301794,8&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;16104360,96&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;597940,992&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;&amp;nbsp;ITUB4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/12/2017&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;192388071,4&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;28621142,02&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;625811,008&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/12/2019&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;182347169,8&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;26470174,72&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;11905&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/09/2019&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;171856281,6&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;21212354,56&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;51645&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/06/2019&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;175201058,8&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;16937673,73&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;18392&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/03/2019&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;180858191,9&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;20059187,2&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;58415&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/12/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;198186549,2&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;18694776,83&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;3385456,896&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/09/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;196365320,2&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;12278881,28&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;665008&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;30/06/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;192919715,8&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;12151491,58&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;636017,984&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/03/2018&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;185301794,8&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;16104360,96&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;597940,992&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="85px" height="25px"&gt;BBDC4&lt;/TD&gt;&lt;TD width="119px" height="25px"&gt;31/12/2017&lt;/TD&gt;&lt;TD width="128px" height="25px"&gt;192388071,4&lt;/TD&gt;&lt;TD width="118px" height="25px"&gt;28621142,02&lt;/TD&gt;&lt;TD width="127px" height="25px"&gt;625811,008&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I &lt;STRONG&gt;SUM&lt;/STRONG&gt;, the values of the column &lt;STRONG&gt;DISPONIBILIDADES&lt;/STRONG&gt; of the selected &lt;STRONG&gt;Ticker&lt;/STRONG&gt; (&lt;STRONG&gt;ITUB4&lt;/STRONG&gt; for example), that belongs to:&lt;/P&gt;&lt;P&gt;1. The Last available year? (In this case the system should check for all available data for the last year, on column Periodo)&lt;BR /&gt;2. The Last available quarter? (In this case, the system should check the most current Periodo available)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699164#M725025</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699190#M725026</link>
      <description>&lt;P&gt;if i understood correctly maye be&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=Sum({&amp;lt;Ticker={'ITUB4'},Periodo={"$(=Date(Max(Periodo)))"}&amp;gt;} Disponibilidades)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Data:


LOAD Ticker,Date(Periodo) as Periodo, [Ativo Total], [Ativo Circulante], Disponibilidades INLINE [
    Ticker, Periodo, Ativo Total, Ativo Circulante, Disponibilidades
    ITUB4, 31/12/2019, "182347169,8", "26470174,72",11905
    ITUB4, 30/09/2019, "171856281,6", "21212354,56", 51645
    ITUB4, 30/06/2019, "175201058,8", "16937673,73", 18392
    ITUB4, 31/03/2019, "180858191,9", "20059187,2", 58415
    ITUB4, 31/12/2018, "198186549,2", "18694776,83", "3385456,896"
    ITUB4, 30/09/2018, "196365320,2", "12278881,28", 665008
    ITUB4, 30/06/2018, "192919715,8", "12151491,58", "636017,984"
     ITUB4, 31/03/2018, "185301794,8", "16104360,96", "597940,992"
     ITUB4, 31/12/2017, "192388071,4", "28621142,02", "625811,008"
    BBDC4, 31/12/2019, "182347169,8", "26470174,72", 11905
    BBDC4, 30/09/2019, "171856281,6", "21212354,56", 51645
    BBDC4, 30/06/2019, "175201058,8", "16937673,73", 18392
    BBDC4, 31/03/2019, "180858191,9", "20059187,2", 58415
    BBDC4, 31/12/2018, "198186549,2", "18694776,83", "3385456,896"
    BBDC4, 30/09/2018, "196365320,2", "12278881,28", 665008
    BBDC4, 30/06/2018, "192919715,8", "12151491,58", "636017,984"
    BBDC4, 31/03/2018, "185301794,8", "16104360,96", "597940,992"
    BBDC4, 31/12/2017, "192388071,4", "28621142,02", "625811,008"
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 574px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32990i74E21BAB5492F4F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 18:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699190#M725026</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-05-05T18:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699197#M725027</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1588704476043.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32993i0E3EC8F9C21985F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vegar_0-1588704476043.png" alt="Vegar_0-1588704476043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Last available Year&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;=sum({&amp;lt;[Periodo]={"&amp;gt;=$(=YearStart(max([Periodo])))&amp;lt;=$(=YearEnd(max([Periodo])))"}&amp;gt;}[Disponibilidades])&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Last available Quarter&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;=sum({&amp;lt;[Periodo]={"&amp;gt;=$(=QuarterStart(max([Periodo])))&amp;lt;=$(=QuarterEnd(max([Periodo])))"}&amp;gt;}[Disponibilidades])&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 18:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699197#M725027</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-05T18:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699219#M725028</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick response, but it's not working...&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 20:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699219#M725028</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-05T20:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699253#M725029</link>
      <description>&lt;P&gt;What's not working? Please explain.&amp;nbsp; &amp;nbsp;Are we not addressing the correct issue or are you having trouble implementing the suggested solution into your application?&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 04:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699253#M725029</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-06T04:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699498#M725030</link>
      <description>&lt;P&gt;Thanks for all your support Vegar!&lt;/P&gt;&lt;P&gt;The formula you provided is calculating just the Last Year and the Last Quarter, not considering what day is today.&lt;/P&gt;&lt;P&gt;Once I'm working with a chart where Date is a Dimension, I have to consider that the "Todays's date" is the date of each specific bar on my chart. And based on this "Today's date" I would like to get the Revenue from the Last Year, and Last Quarter, based on that date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it more clear now?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 14:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699498#M725030</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-06T14:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699577#M725031</link>
      <description>&lt;P&gt;I think I understand what you are trying to do. Are you trying to create a bar chart with Rolling 3 an Rolling 12 months values? You can solve this by two approaches.&lt;/P&gt;&lt;P&gt;In some chart types you can choose to accumulate an expression x no of steps backward. See picture below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 637px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33070i345C5A3688B40174/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;This will probably solve you issue.&lt;/P&gt;&lt;P&gt;IF not then you&amp;nbsp;could consider adjusting your data model with an AsOfTable for your periodo. I would recommend you to look into &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_self"&gt;The As-of Table&lt;/A&gt; blogpost by HIC. It will make you very flexible in relation to create aggregated values in you application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below you see that the two apporaches delivers the same output.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33072i42E5D7DEAFAFC834/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Im attaching a qvw for your reference.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 19:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699577#M725031</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-06T19:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699613#M725032</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks again for your very nice post!&lt;/P&gt;&lt;P&gt;But it's not what I'm looking for... please, chekc the picure below for a better understanding.&lt;/P&gt;&lt;P&gt;As you can see here, I already have the red bars (&lt;STRONG&gt;Lucro&lt;/STRONG&gt;) and the blue line (&lt;STRONG&gt;Cotação&lt;/STRONG&gt;), and I want to create this new purple line, that is expressed as Cotação / Lucro.&lt;/P&gt;&lt;P&gt;As you can see, I have information for Cotação on a daily basis, but I don't have the information about Lucro on a dayly basis... So, to calculate my purple line, I have to use the current value of Cotação, and the last available information of Lucro (considering the day you are on a chart).&lt;/P&gt;&lt;P&gt;That's why I can not use the lower red bar to calculate my green start equation. To calculate the green start equation I have to use the big red bar, and to calculate the pink circle I have to use the lower red bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tutorial.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33079i63E4229CA51D2D3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tutorial.png" alt="Tutorial.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it better now?&lt;BR /&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 23:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699613#M725032</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-06T23:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699882#M725033</link>
      <description>&lt;P&gt;Does anybody know how to do it?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 15:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699882#M725033</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-07T15:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699989#M725034</link>
      <description>&lt;P&gt;I've created a prototype for you. Please note that you do need a calendar containing a quarter field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Expression: sum(Cotacao)/aggr(nodistinct sum(Lurco), Quarter)" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33160iFA03818A2C701B1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_0-1588882270542.png" alt="Expression: sum(Cotacao)/aggr(nodistinct sum(Lurco), Quarter)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Expression: sum(Cotacao)/aggr(nodistinct sum(Lurco), Quarter)&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;See attached qvw&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 20:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1699989#M725034</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-07T20:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700056#M725035</link>
      <description>&lt;P&gt;Thanks for your help and patience!&lt;/P&gt;&lt;P&gt;It's a very nice approach... but it's not working perfectly.&lt;BR /&gt;As you can see on the picture below, the system is considering the Lucro from 31/12/2019 on the previous dates, (21/12, 22/12, 13/12... up to 31/12). And from 02/01/2020 up to 21/01/2020 there is n value.&lt;BR /&gt;&lt;BR /&gt;I'm expecting to get the values as I draw using the red lines and the blue lines.&lt;/P&gt;&lt;P&gt;For example:&lt;BR /&gt;The value of Lucro per Quarter on 24/12/2019 shouw not come from the Lucro of 31/12/2019, but from the lucro from the month 9.... And the Lucro per Quarter on 14/01/2020 that is a blank value now, should be 2.802.388, obtained from the Lucro of 31/12/2019.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Result.png" style="width: 526px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33172iB74D219FBD732BA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Result.png" alt="Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I solve it?&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Bruno Lelli&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 02:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700056#M725035</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-08T02:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700110#M725036</link>
      <description>&lt;P&gt;If you add a day to the date of the lurco transaction then it will fall into t he correct Quarter.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 06:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700110#M725036</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-08T06:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700376#M725037</link>
      <description>&lt;P&gt;Good!&lt;/P&gt;&lt;P&gt;How could I now sum the value of [Lucro] of the last 4 quarters, and show it in the same way we were dowing with the new column you teached me?&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2020 14:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700376#M725037</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-09T14:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700392#M725038</link>
      <description>&lt;P&gt;I'm not sure if I completely understand your question.&lt;/P&gt;&lt;P&gt;Doesn't the Lucro expression in my application meet your need? What if you put an outer sum() around it like this?&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=&lt;FONT color="#0000FF"&gt;sum&lt;/FONT&gt;(&lt;FONT color="#0000FF"&gt;aggr&lt;/FONT&gt;(&lt;FONT color="#0000FF"&gt;nodistinct&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;sum&lt;/FONT&gt;(&lt;FONT color="#993300"&gt;Lurco&lt;/FONT&gt;), &lt;FONT color="#993300"&gt;Quarter&lt;/FONT&gt;))&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2020 17:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700392#M725038</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-09T17:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700395#M725039</link>
      <description>&lt;P&gt;Hello Vegar,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your assistance...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You solve my problem... your approach was amazying, and your solution was easier and faster than I was expecting.&lt;BR /&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 01:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-by-quarter/m-p/1700395#M725039</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-10T01:55:26Z</dc:date>
    </item>
  </channel>
</rss>

