<?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 Calender Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calender-Expressions/m-p/558686#M1139404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;The below expressions carries the column from master calendar. So I expect these expressions to pick the values present in &lt;/P&gt;&lt;P&gt;the master calendar table. However when I say =max(Year)-5 it gives the output as&amp;nbsp; 1998, whereas I expect the output to be 0 as 1998 is not present in the master calendar table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please guide me where I am doing wrong.&lt;/P&gt;&lt;P&gt;=Max(CalYear)-15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My other query is the below expression gives output as Jan, but I expect it to give Oct, which is the latest month in master &lt;/P&gt;&lt;P&gt;calendar.&lt;/P&gt;&lt;P&gt;=month(max(CalMonth))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me with the correct expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 08:47:34 GMT</pubDate>
    <dc:creator>bharath28</dc:creator>
    <dc:date>2013-10-15T08:47:34Z</dc:date>
    <item>
      <title>Calender Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-Expressions/m-p/558686#M1139404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;The below expressions carries the column from master calendar. So I expect these expressions to pick the values present in &lt;/P&gt;&lt;P&gt;the master calendar table. However when I say =max(Year)-5 it gives the output as&amp;nbsp; 1998, whereas I expect the output to be 0 as 1998 is not present in the master calendar table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please guide me where I am doing wrong.&lt;/P&gt;&lt;P&gt;=Max(CalYear)-15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My other query is the below expression gives output as Jan, but I expect it to give Oct, which is the latest month in master &lt;/P&gt;&lt;P&gt;calendar.&lt;/P&gt;&lt;P&gt;=month(max(CalMonth))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me with the correct expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 08:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-Expressions/m-p/558686#M1139404</guid>
      <dc:creator>bharath28</dc:creator>
      <dc:date>2013-10-15T08:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calender Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-Expressions/m-p/558687#M1139405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your max(Year) is probably 2003, and this is the only information retrieved from your master calendar in your first expression. Then you subtract 5, which is just executed as a mathematical operation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=2003-5 = 1998&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be no check if 1998 is part of your year data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=month(max(CalMonth))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns Jan, e.g. if CalMonth is already in a format with a numerical representation 1-12 for the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So just try&lt;/P&gt;&lt;P&gt;=max(CalMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you get?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 09:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-Expressions/m-p/558687#M1139405</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-15T09:04:02Z</dc:date>
    </item>
  </channel>
</rss>

