Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Converting Dates to Fiscal Dates

Featured Replies

  • Newbies

I'm generating a report where I'm Summarizing data by Month/Year. The problem I'm having is the dates need to correspond to our company's fiscal calendar. So something with a date 7/1/2004 would need to go under the month/year 06/2004 (since according to our Fiscal calendar, that item happened in "fiscal" June).

Does anyone have any ideas for how to create a calculation field that performs this conversion?

BTW I noticed a function in version 6 called "WeekofYearFiscal", would that be useful in this instance?

HI nerdgir1

Welcome to the list.

This caluculation will calculate out what fiscal year a date is in.

If(Month(Date) > 6, Year(Date) & "-" & (Year(Date)+1),(Year(Date)-1) & "-" & Year(Date))

HTH

Lee

  • Author
  • Newbies

Thanks for the response, it gave me something to think about. I don't need a range, rather a conversion to a specific date. BTW on my calendar, the Fiscal Week starts on Saturday.

Basically what I'm looking for is to convert this: Date = 07/02/2004

to this: Extract MonthYear Fiscal = 06/2004

(note: I already have a function to extract the Month/Year to my liking, I just need to know what conditions to add to account for the Fiscal adjustment).

I can set it up as a hard coded "Case" statement, but I was really hoping for something more elegant and dynamic. If anyone has any ideas I'm down to hear them.

Like for instance, what are the rules for a Fiscal date? I don't even know how they come up with that stuff... like if there's some generic conversion algorithm for normal dates to fiscal.

  • Author
  • Newbies

I just went ahead and coded a Case Statement. It was the simplest solution.

Case(Date Closed ? TextToDate("12/1/2001") and Date Closed ? TextToDate("12/28/2001"), TextToDate("12/1/2001"), 0)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.