<?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: Date Function Challenges in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Function-Challenges/m-p/627117#M230435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you need to create a master calendar, i.e. an additional table with all date attributes. See more &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/16/the-master-calendar"&gt;here&lt;/A&gt; and search on the forum for a master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, you should create a field "DagsAgo" in your master calendar, that you can use for your first question. See more &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/10/relative-calendar-fields"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly, you should create flags in your calendar, e.g. "IsInYTD", that mark whether this day is within the year/month to date. See more &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/03/03/ytd"&gt;here&lt;/A&gt; or search the forum for ytd or yoy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2014 20:08:22 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2014-05-26T20:08:22Z</dc:date>
    <item>
      <title>Date Function Challenges</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function-Challenges/m-p/627116#M230434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends/Colleagues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will feel much obliged if you please provide &lt;STRONG&gt;Date Function&lt;/STRONG&gt; to calculate the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I accomplish the following by each YEAR (2011 - 2012) and MONTH ( 1-12) on a Bar Chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1. Aggregate/Sum of "No Of Hits" for the "Previous Day"? E.g. Assuming today is 12/20/2011 it would be "6"&lt;/P&gt;&lt;P&gt;Q2. Aggregate/Sum of&amp;nbsp; "No of Hits" for the "Month to Date"? E.g. Assuming today is 12/20/2011 it would be "18"&lt;/P&gt;&lt;P&gt;Q3. Aggregate/Sum of&amp;nbsp; "No of Hits" for the "Year to Date"? E.g. Assuming today is 12/20/2011 it would be "21"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;No Of Hits&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11/18/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11/19/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12/1/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12/5/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12/18/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12/19/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12/20/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You. Happy Memorial Day&lt;/P&gt;&lt;P&gt;MBBS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Please see attchment for more example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 19:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function-Challenges/m-p/627116#M230434</guid>
      <dc:creator />
      <dc:date>2014-05-25T19:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function Challenges</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function-Challenges/m-p/627117#M230435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you need to create a master calendar, i.e. an additional table with all date attributes. See more &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/16/the-master-calendar"&gt;here&lt;/A&gt; and search on the forum for a master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, you should create a field "DagsAgo" in your master calendar, that you can use for your first question. See more &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/10/relative-calendar-fields"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly, you should create flags in your calendar, e.g. "IsInYTD", that mark whether this day is within the year/month to date. See more &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/03/03/ytd"&gt;here&lt;/A&gt; or search the forum for ytd or yoy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 20:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function-Challenges/m-p/627117#M230435</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-05-26T20:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function Challenges</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function-Challenges/m-p/627118#M230436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mr. Cronström,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I highly appreciated your quick response. I will look into your suggestions&lt;/P&gt;&lt;P&gt;and make a sincere effort to solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really happy to take a note of the fact that this community is&lt;/P&gt;&lt;P&gt;really/truly active and someone is always out there to look into unanswered&lt;/P&gt;&lt;P&gt;questions/issues and ready to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and may GOD bless you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Kindest Regards,&lt;/P&gt;&lt;P&gt;Sam David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, May 26, 2014 at 3:08 PM, Henric Cronström&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 14:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function-Challenges/m-p/627118#M230436</guid>
      <dc:creator />
      <dc:date>2014-05-27T14:08:16Z</dc:date>
    </item>
  </channel>
</rss>

