<?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: Drilldown time dimension: get the last date in each period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/487616#M1130119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this, using an expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( aggr(sum(value), Date), aggr( -Date, Date) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2013 14:19:18 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-11-25T14:19:18Z</dc:date>
    <item>
      <title>Drilldown time dimension: get the last date in each period</title>
      <link>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/487615#M1130118</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;I am currently building a bar chart using a drilldown dimension that goes from YearMonth to YearWeek to Date (I have created a master calendar). The time granularity of my data is daily, and I have a field called 'value' that I want to sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the graph to show the sum of 'value' per the latest date in every period. I.e. when looking at YearMonth I want each bar to be the sum of 'value' per the last date of each month; when drilling down to YearWeek I want each bar to be the sum of 'value' per the last date of each week; and when looking at dates I want each bar to be the sum of 'value' for that date.&lt;/P&gt;&lt;P&gt;Is this possible to do in QlikView? I have started testing a couple of my ideas using set analysis, but haven't got the desired result, so now I'm turning to all of you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 14:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/487615#M1130118</guid>
      <dc:creator />
      <dc:date>2013-11-25T14:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown time dimension: get the last date in each period</title>
      <link>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/487616#M1130119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this, using an expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( aggr(sum(value), Date), aggr( -Date, Date) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 14:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/487616#M1130119</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-25T14:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown time dimension: get the last date in each period</title>
      <link>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/487617#M1130120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl, it seems to work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 14:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/487617#M1130120</guid>
      <dc:creator />
      <dc:date>2013-11-25T14:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown time dimension: get the last date in each period</title>
      <link>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/1720008#M1130121</link>
      <description>&lt;P&gt;hi !&lt;/P&gt;&lt;P&gt;how to use this expression :&amp;nbsp;&lt;SPAN&gt;=FirstSortedValue( aggr(sum(value), Date), aggr( -Date, Date) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;to calculate the same for last year ?&lt;/P&gt;&lt;P&gt;I would like to calculate a delta with this expression between current year and last year but i've to compare last date of each périod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drilldown-time-dimension-get-the-last-date-in-each-period/m-p/1720008#M1130121</guid>
      <dc:creator>marakud971</dc:creator>
      <dc:date>2020-06-18T12:53:10Z</dc:date>
    </item>
  </channel>
</rss>

