<?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: How to get the Current Quarter / Fiscal Period in Set Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14980#M785457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=Num(Round(&lt;SPAN style="font-family: Helvetica, sans-serif; font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;[Fiscal Period]&lt;/SPAN&gt;={"&amp;gt;=$(=Num(QuarterStart(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;[Fiscal Period]&lt;/SPAN&gt;))))&amp;lt;=$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;[Fiscal Period]&lt;/SPAN&gt;))"}&amp;gt;} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; DISTINCT&amp;nbsp; [Contractual TOV])/1000), '$#,##0K')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 07:06:03 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2018-03-13T07:06:03Z</dc:date>
    <item>
      <title>How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14975#M785448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Qlik and looking for ways to get the current quarter value in a set expression. I have following expression where I have hardcoded the values for the current quarter&amp;nbsp; (&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Q1-2018 below&lt;/STRONG&gt;&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(Round(Sum({&amp;lt;[Fiscal Period]={'&lt;STRONG&gt;Q1-2018&lt;/STRONG&gt;'}&amp;gt;} DISTINCT&amp;nbsp; [Contractual TOV])/1000), '$#,##0K')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I get rid of hardcoded value and make based on current date / system date? I need to get it in the same format as hardcoded here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it be done thru a variable let's vCurrentQtr that is calculated out of some date function that can be reused in other places/expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav&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/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14975#M785448</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14976#M785449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean to say..datewise sum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 06:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14976#M785449</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-03-13T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14977#M785451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just want the CQ value &lt;STRONG&gt;Q1-2018&lt;/STRONG&gt; not to be a hardcoded one. It should come from some date functions... I don't know which function can help in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 06:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14977#M785451</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2018-03-13T06:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14978#M785454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends on the fields in your model, do you have any quarter Field defined in model?&lt;/P&gt;&lt;P&gt;Can you share sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 06:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14978#M785454</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-03-13T06:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14979#M785456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I just want it to based on current system date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 07:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14979#M785456</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2018-03-13T07:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14980#M785457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=Num(Round(&lt;SPAN style="font-family: Helvetica, sans-serif; font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;[Fiscal Period]&lt;/SPAN&gt;={"&amp;gt;=$(=Num(QuarterStart(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;[Fiscal Period]&lt;/SPAN&gt;))))&amp;lt;=$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;[Fiscal Period]&lt;/SPAN&gt;))"}&amp;gt;} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; DISTINCT&amp;nbsp; [Contractual TOV])/1000), '$#,##0K')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 07:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14980#M785457</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-03-13T07:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14981#M785458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out.All the below calculations are based on current date.&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196111_1.PNG" style="height: 150px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 07:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14981#M785458</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2018-03-13T07:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14982#M785459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with this,i hope it will help to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;OrderDate = {"&amp;gt;=$(=Quarterstart(max(OrderDate)))&amp;lt;=$(=max(OrderDate))"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 07:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14982#M785459</guid>
      <dc:creator>chinnuchinni</dc:creator>
      <dc:date>2018-03-13T07:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14983#M785460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Round(Sum({&amp;lt;[Fiscal Period]={&lt;SPAN style="color: #ff0000;"&gt;'$(=minstring({&amp;lt;[Fiscal year]={"$(max([Fiscal year]))"}&amp;gt;} [Fiscal Period]))'&lt;/SPAN&gt;}&amp;gt;} DISTINCT&amp;nbsp; [Contractual TOV])/1000), '$#,##0K')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 07:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14983#M785460</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-03-13T07:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Current Quarter / Fiscal Period in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14984#M785461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is what I was looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(Round(Sum({&amp;lt;[Fiscal Period]={$(=chr(39)&amp;amp; 'Q' &amp;amp; CEIL(MONTH(Today())/3) &amp;amp;'-'&amp;amp; YEAR(Today())&amp;amp;chr(39))}&amp;gt;} DISTINCT&amp;nbsp; [Contractual TOV])/1000), '$#,##0K')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fixes the issue and gives CQ based on system date.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 09:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Current-Quarter-Fiscal-Period-in-Set-Expression/m-p/14984#M785461</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2018-03-13T09:06:49Z</dc:date>
    </item>
  </channel>
</rss>

