<?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: Function or Macro for Determining Fiscal Year and Month in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647690#M148902</link>
    <description>&lt;P&gt;Hi TheOC!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formatting of the fiscal year is just 4-digit year.&amp;nbsp; Any calendar year with a date preceding 10/1 is the current fiscal year.&amp;nbsp; Any after 9/30 falls into our next fiscal year, or 2021.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The months begin renumbering after the start of the fiscal year, so calendar date 12/15/2020 is Year: 2021&amp;nbsp; Month: 03&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2020 17:10:52 GMT</pubDate>
    <dc:creator>DMH1</dc:creator>
    <dc:date>2020-10-09T17:10:52Z</dc:date>
    <item>
      <title>Function or Macro for Determining Fiscal Year and Month</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647613#M148874</link>
      <description>&lt;P&gt;Is there a function or macro already developed that converts calendar date to fiscal date?&amp;nbsp; I had hoped to use a pre-existing Oracle function when writing some revenue data to a new table, but can't figure out how to make that work (yes I know - different problem!!)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My company's fiscal year starts on October 1st.&amp;nbsp; I want to create a new column in the output revenue table with the fiscal year and month (for example December 12, 2020 would yield a fiscal year/month of "202103").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be running the workflow in my Gallery.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts or examples appreciated!!&amp;nbsp; I'm pulling my remaining gray hair out...&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 14:59:28 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647613#M148874</guid>
      <dc:creator>DMH1</dc:creator>
      <dc:date>2020-10-09T14:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function or Macro for Determining Fiscal Year and Month</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647622#M148877</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/47187"&gt;@DMH1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;sorry to ask - I think this is my inexperience with Fiscal years, but whats the formatting of the fiscal year? I'm sure this is possible, just a little confused by "202103".&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 15:12:08 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647622#M148877</guid>
      <dc:creator>TheOC</dc:creator>
      <dc:date>2020-10-09T15:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function or Macro for Determining Fiscal Year and Month</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647649#M148890</link>
      <description>&lt;P&gt;My company uses the same fiscal year...10/1-9/30.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have my years, months, and days in separate columns. Then I just have the following logic in a formula tool:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF [MONTH_1] &amp;gt; 9&lt;/P&gt;&lt;P&gt;THEN [YEAR_1] + 1&lt;/P&gt;&lt;P&gt;ELSE [YEAR_1]&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously these will need to be formatted as numbers so you can add 1 to the year if needed. Then in another formula I create the date string:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ToString([YEAR_1], 0) +"/"+ ToString([MONTH_1], 0)+ "/" + ToString([DAY_1], 0)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 23:58:50 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647649#M148890</guid>
      <dc:creator>271828</dc:creator>
      <dc:date>2023-06-14T23:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function or Macro for Determining Fiscal Year and Month</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647690#M148902</link>
      <description>&lt;P&gt;Hi TheOC!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formatting of the fiscal year is just 4-digit year.&amp;nbsp; Any calendar year with a date preceding 10/1 is the current fiscal year.&amp;nbsp; Any after 9/30 falls into our next fiscal year, or 2021.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The months begin renumbering after the start of the fiscal year, so calendar date 12/15/2020 is Year: 2021&amp;nbsp; Month: 03&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:10:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647690#M148902</guid>
      <dc:creator>DMH1</dc:creator>
      <dc:date>2020-10-09T17:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function or Macro for Determining Fiscal Year and Month</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647702#M148904</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/47187"&gt;@DMH1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, you can just have a formula for the year like I mentioned above and then a 2nd one for the month:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF [MONTH] &amp;gt; 9&lt;/P&gt;&lt;P&gt;THEN [MONTH] - 9&lt;/P&gt;&lt;P&gt;ELSE [MONTH] + 3&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:25:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647702#M148904</guid>
      <dc:creator>271828</dc:creator>
      <dc:date>2020-10-09T17:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function or Macro for Determining Fiscal Year and Month</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647718#M148909</link>
      <description>&lt;P&gt;Thanks Colorado970,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have all that logic in an Oracle function at this point.&amp;nbsp; I have to figure out a slick way to include it in my Alteryx workflow!&amp;nbsp; I was hoping to do it using IN-DB since I am processing 35 million rows daily and it runs for a long time even without adding another computation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:42:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Function-or-Macro-for-Determining-Fiscal-Year-and-Month/m-p/647718#M148909</guid>
      <dc:creator>DMH1</dc:creator>
      <dc:date>2020-10-09T17:42:03Z</dc:date>
    </item>
  </channel>
</rss>

