<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date/m-p/808197#M1027324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Manish thanks for your reply&amp;nbsp; , i tried all the option but could not resolve the problem , &lt;/P&gt;&lt;P&gt;Can u plz tell me iam using this script for temp calendar is this correct .&lt;/P&gt;&lt;P&gt;SET vFiscalYearStartMonth = 4;&lt;/P&gt;&lt;P&gt;LET vStartDate = Num(YearStart(Today(),-2));&lt;/P&gt;&lt;P&gt;LET vEndDate = Num(YearEnd(Today()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FiscalCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Dual('Q' &amp;amp; Ceil(FiscalMonth/3), Ceil(FiscalMonth/3)) AS FiscalQuarter, // Fiscal Calendar Quarter&lt;/P&gt;&lt;P&gt;Dual(Text(Date(MonthEnd(Date), 'MMM')), FiscalMonth) AS FiscalMonthName; // Fiscal Calendar Month Name&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Year(Date) AS Year, // Standard Calendar Year&lt;/P&gt;&lt;P&gt;Month(Date) AS Month, // Standard Calendar Month&lt;/P&gt;&lt;P&gt;Date(MonthEnd(Date), 'MMM') AS MonthName,&amp;nbsp; // Standard Calendar Month Name&lt;/P&gt;&lt;P&gt;Dual('Q' &amp;amp; Ceil(Month(Date)/3), Ceil(Month(Date)/3)) AS Quarter,&amp;nbsp; // Standard Calendar Quarter&lt;/P&gt;&lt;P&gt;Mod(Month(Date) - $(vFiscalYearStartMonth), 12)+1 AS FiscalMonth,&amp;nbsp; // Fiscal&amp;nbsp; Month&lt;/P&gt;&lt;P&gt;Right(YearName(Date,0,$(vFiscalYearStartMonth)),4)as FiscalYear;&lt;/P&gt;&lt;P&gt;//YearName(Date, 0, $(vFiscalYearStartMonth)) AS FiscalYear;&amp;nbsp; // Fiscal Year&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Date($(vStartDate) + RangeSum(Peek('RowNum'), 1) - 1) AS Date,&lt;/P&gt;&lt;P&gt;RangeSum(Peek('RowNum'), 1) AS RowNum&lt;/P&gt;&lt;P&gt;AutoGenerate vEndDate - vStartDate + 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Mar 2015 17:15:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-01T17:15:56Z</dc:date>
    <item>
      <title>Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/808194#M1027321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALl&lt;/P&gt;&lt;P&gt;Iam attaching my qlikview file , U can see that i have a staright table which has the&amp;nbsp; expression name as YTD ABP ,In my excel data i have the values only for 2015 April , but in my dashboard it is shwowing the values for 2014 also .&lt;/P&gt;&lt;P&gt;Can some one help me over this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 09:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/808194#M1027321</guid>
      <dc:creator />
      <dc:date>2015-03-01T09:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/808195#M1027322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share your data/file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 10:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/808195#M1027322</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-01T10:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/808196#M1027323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is something wrong in your load script..&lt;/P&gt;&lt;P&gt;Create a list box of FiscalMonth, FiscalYear and Booking Sales Value ABP.. which will give you idea about what is wrong in your scrip..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 16:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/808196#M1027323</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-01T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/808197#M1027324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Manish thanks for your reply&amp;nbsp; , i tried all the option but could not resolve the problem , &lt;/P&gt;&lt;P&gt;Can u plz tell me iam using this script for temp calendar is this correct .&lt;/P&gt;&lt;P&gt;SET vFiscalYearStartMonth = 4;&lt;/P&gt;&lt;P&gt;LET vStartDate = Num(YearStart(Today(),-2));&lt;/P&gt;&lt;P&gt;LET vEndDate = Num(YearEnd(Today()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FiscalCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Dual('Q' &amp;amp; Ceil(FiscalMonth/3), Ceil(FiscalMonth/3)) AS FiscalQuarter, // Fiscal Calendar Quarter&lt;/P&gt;&lt;P&gt;Dual(Text(Date(MonthEnd(Date), 'MMM')), FiscalMonth) AS FiscalMonthName; // Fiscal Calendar Month Name&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Year(Date) AS Year, // Standard Calendar Year&lt;/P&gt;&lt;P&gt;Month(Date) AS Month, // Standard Calendar Month&lt;/P&gt;&lt;P&gt;Date(MonthEnd(Date), 'MMM') AS MonthName,&amp;nbsp; // Standard Calendar Month Name&lt;/P&gt;&lt;P&gt;Dual('Q' &amp;amp; Ceil(Month(Date)/3), Ceil(Month(Date)/3)) AS Quarter,&amp;nbsp; // Standard Calendar Quarter&lt;/P&gt;&lt;P&gt;Mod(Month(Date) - $(vFiscalYearStartMonth), 12)+1 AS FiscalMonth,&amp;nbsp; // Fiscal&amp;nbsp; Month&lt;/P&gt;&lt;P&gt;Right(YearName(Date,0,$(vFiscalYearStartMonth)),4)as FiscalYear;&lt;/P&gt;&lt;P&gt;//YearName(Date, 0, $(vFiscalYearStartMonth)) AS FiscalYear;&amp;nbsp; // Fiscal Year&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Date($(vStartDate) + RangeSum(Peek('RowNum'), 1) - 1) AS Date,&lt;/P&gt;&lt;P&gt;RangeSum(Peek('RowNum'), 1) AS RowNum&lt;/P&gt;&lt;P&gt;AutoGenerate vEndDate - vStartDate + 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 17:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/808197#M1027324</guid>
      <dc:creator />
      <dc:date>2015-03-01T17:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/808198#M1027325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Wrestler u need to concatenate year and month &lt;/P&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;Year(Date)&amp;amp;'|'&amp;amp;Month(Date)&amp;amp;'|'&amp;amp;DivCode&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;amp;'|'&amp;amp;[Sales Office Dec]&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;amp;'|'&amp;amp; [Sales Office] as ABPKEY&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 10:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/808198#M1027325</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-03-02T10:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/808199#M1027326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ABP:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;)&amp;amp;'|'&amp;amp; &lt;SPAN style="color: #0000ff;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp;'|'&amp;amp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DivCOde&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Office Desc]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Office]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Link&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;in Billing:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;)&amp;amp;'|'&amp;amp; &lt;SPAN style="color: #0000ff;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp;'|'&amp;amp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DivCOde&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Office Desc]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Office]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Link&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will add the year into the link and it should function correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 11:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/808199#M1027326</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2015-03-02T11:41:49Z</dc:date>
    </item>
  </channel>
</rss>

