<?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: financial Calendar in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568234#M10091</link>
    <description>&lt;P&gt;Include the year in the MONTH field? Add 8/subtract 4 (assuming April) and take a modulus 12 and add 1?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 12:41:07 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-09-23T12:41:07Z</dc:date>
    <item>
      <title>financial Calendar</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568218#M10090</link>
      <description>&lt;P&gt;Hi, community members&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write a query that looks like this:&lt;/P&gt;&lt;P&gt;| dbxquery query="select VULNERABILITY_LIFECYCLE, SOURCE, CLOSURE_FY, CLOSURE_QUARTER, CLOSURE_DATE&lt;BR /&gt;from table [...]"&lt;BR /&gt;| eval MONTH=strftime(strptime(CLOSURE_DATE,"%Y-%m-%d %H:%M:%S"),"%m")&lt;BR /&gt;| eval SURSA = if(SOURCE!="QUALYS-P","Confirmed", "Potential")&lt;BR /&gt;| chart count over MONTH by SURSA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that I want this chart to represent a financial year, not a calendar year. How can I do this? (also,&amp;nbsp; without skipping months)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielaEstera_0-1632391869249.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16135i8E54A50001DE6CAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielaEstera_0-1632391869249.png" alt="DanielaEstera_0-1632391869249.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support,&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 10:12:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568218#M10090</guid>
      <dc:creator>DanielaEstera</dc:creator>
      <dc:date>2021-09-23T10:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: financial Calendar</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568234#M10091</link>
      <description>&lt;P&gt;Include the year in the MONTH field? Add 8/subtract 4 (assuming April) and take a modulus 12 and add 1?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 12:41:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568234#M10091</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-23T12:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: financial Calendar</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568266#M10092</link>
      <description>&lt;P&gt;not quite sure. did you mean :&lt;/P&gt;&lt;P&gt;| eval MONTH=strftime(strptime(CLOSURE_DATE,"%Y-%m-%d %H:%M:%S"),"%m-%Y")&lt;BR /&gt;| eval luna = (MONTH + 4 )mod 12 + 1&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 15:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568266#M10092</guid>
      <dc:creator>DanielaEstera</dc:creator>
      <dc:date>2021-09-23T15:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: financial Calendar</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568277#M10093</link>
      <description>&lt;P&gt;The values will be sorted so year should come before month.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval MONTH=strftime(strptime(CLOSURE_DATE,"%Y-%m-%d %H:%M:%S"),"%Y-%m")&lt;/LI-CODE&gt;&lt;P&gt;or change the month so the April is 1 and March is 12&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval luna = ((MONTH + 8 ) % 12) + 1&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 23 Sep 2021 15:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/financial-Calendar/m-p/568277#M10093</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-23T15:56:40Z</dc:date>
    </item>
  </channel>
</rss>

