<?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: logic Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132209#M916627</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SET vFiscalYearStartMonth = 4;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vStartDate = Num(YearStart(Today(), -1));&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vEndDate = Num(YearEnd(Today()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FiscalCalendar:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual('Q' &amp;amp; Ceil(FiscalMonth/3), Ceil(FiscalMonth/3)) AS FiscalQuarter, // Fiscal Calendar Quarter&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual(Text(Date(MonthEnd(Date), 'MMM')), FiscalMonth) AS FiscalMonthName; // Fiscal Calendar Month Name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year(Date) AS Year, // Standard Calendar Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month(Date) AS Month, // Standard Calendar Month&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthEnd(Date), 'MMM') AS MonthName,&amp;nbsp; // Standard Calendar Month Name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mod(Month(Date) - $(vFiscalYearStartMonth), 12)+1 AS FiscalMonth,&amp;nbsp; // Fiscal Calendar Month&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;YearName(Date, 0, $(vFiscalYearStartMonth)) AS FiscalYear;&amp;nbsp; // Fiscal Calendar Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date($(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MinDate&lt;/SPAN&gt;) + RangeSum(Peek('RowNum'), 1) - 1) AS Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Peek('RowNum'), 1) AS RowNum&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AutoGenerate &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MaxDate&lt;/SPAN&gt;- &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MinDate&lt;/SPAN&gt;+ 1;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(FactDate) AS MinDate,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FactDate&lt;/SPAN&gt;) AS MaxDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT FactTableName;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2016 11:44:04 GMT</pubDate>
    <dc:creator>ajsjoshua</dc:creator>
    <dc:date>2016-05-12T11:44:04Z</dc:date>
    <item>
      <title>logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132206#M916624</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;pls help me in this, need the year start date of as per fiscal year, when selecting the dates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attaching sample file and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when user select 30.04.2016, year start shud be as per fiscal year&amp;nbsp; which is 01.04.2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u&lt;SPAN style="font-size: 13.3333px;"&gt;ser select 31.03.2016, year start shud be as per fiscal year&amp;nbsp; which is 01.04.2015&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132206#M916624</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132207#M916625</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;Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearName(DateField,0,,4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 11:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132207#M916625</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-05-12T11:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132208#M916626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Yearstart(Min(Dates),0,4)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 11:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132208#M916626</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-12T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132209#M916627</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SET vFiscalYearStartMonth = 4;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vStartDate = Num(YearStart(Today(), -1));&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vEndDate = Num(YearEnd(Today()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FiscalCalendar:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual('Q' &amp;amp; Ceil(FiscalMonth/3), Ceil(FiscalMonth/3)) AS FiscalQuarter, // Fiscal Calendar Quarter&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual(Text(Date(MonthEnd(Date), 'MMM')), FiscalMonth) AS FiscalMonthName; // Fiscal Calendar Month Name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year(Date) AS Year, // Standard Calendar Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month(Date) AS Month, // Standard Calendar Month&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthEnd(Date), 'MMM') AS MonthName,&amp;nbsp; // Standard Calendar Month Name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mod(Month(Date) - $(vFiscalYearStartMonth), 12)+1 AS FiscalMonth,&amp;nbsp; // Fiscal Calendar Month&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;YearName(Date, 0, $(vFiscalYearStartMonth)) AS FiscalYear;&amp;nbsp; // Fiscal Calendar Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date($(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MinDate&lt;/SPAN&gt;) + RangeSum(Peek('RowNum'), 1) - 1) AS Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Peek('RowNum'), 1) AS RowNum&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AutoGenerate &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MaxDate&lt;/SPAN&gt;- &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MinDate&lt;/SPAN&gt;+ 1;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(FactDate) AS MinDate,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FactDate&lt;/SPAN&gt;) AS MaxDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT FactTableName;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 11:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132209#M916627</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2016-05-12T11:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132210#M916628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 11:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132210#M916628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-12T11:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132211#M916629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just out of curiosity, how come most of your discussion thread are titled "Logic Help" &lt;A _jive_internal="true" href="https://community.qlik.com/people/abhaysingh"&gt;abhay&lt;/A&gt;‌? Is it that difficult to come up with a decent title for your discussion threads &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="124419" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124419_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to be concise, but descriptive in your titles buddy. These titles are not helpful for people who might be having similar issues in the future because the title is vague and there are no tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although you are getting decent responses to your questions, but I would still suggest that please spend a little time to give back to this community (who has helped you almost always) by doing a little extra hard work on your end &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2380"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 12:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132211#M916629</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-12T12:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132212#M916630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, maybe there is some science behind that? The word Logic may kind of&amp;nbsp; trigger a curiosity in the members to view and resolve it like a challenge. So I would concur there is a "logic" behind this approach &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 12:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/logic-Help/m-p/1132212#M916630</guid>
      <dc:creator>msdeepak</dc:creator>
      <dc:date>2016-05-12T12:48:07Z</dc:date>
    </item>
  </channel>
</rss>

