Jump 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.

Fiscal Year Function

Featured Replies

I'm perplexed! confused.gif This seems like it should be so simple. I have a calculation field, (Current Week) that is nothing more than the "WeekOfYearFiscal" function. And yet, the only return I get is a "?".

Each week is a record so I expect to get a return of 1 thru 53 for each week of the year as I go along. Monday being the start of the week. The calculation is as follows: Current Week = WeekOfYearFiscal(7/1/2004,2)

Why can't I get a darn number returned in the field? mad.gif What am I not getting about this? Thanks in advance for the help.

Veronica

7/1/2004 = 0.0035, i.e., it's not a date; it's a calculation.

Try

WeekOfYearFiscal( Date( 7; 1; 2004 ); 2 )

or in general, WeekOfYearFiscal( datefield; 2 ).

  • Author

Queue,

Thank you very much for your help. I thought I had done/tried this before but got an unexpected and unsatisfactory result. Come to discover, I think, the unsatisfactory result occurred because of the type of field, "Calculation" and the date/day that I attempted this. It changed all my records to the one "result" appropriate for the date I did it. Because it is a Calculation field, I wasn't able to change the prior records to the actual result for those records. Does that make sense? I changed the field to a numeric, auto-enter by calculation. That way I can change all the prior records. Next week I'll find out if this approach works. If what I did makes sense to you, do you see and easier way?

Thanks again.

Veronica grin.gif

The auto-enter will work for new records, but not existing ones. You will need to update the older ones. If there is a date field on which the calculation is based, you could use that in place of the hard-coded one and make it a normal calculation field. How is that date determined? Is it based on creation date?

  • 2 weeks later...
  • Author

Thanks Queue. I'll try that out.

Veronica

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.