Changing group from calendar year to GL year

I am currently using Crystal reports with a ERP system called IQMS.
I am trying to grab data from our genral ledger year (1 of august to 31 of july) instead of the calendar year.
The data can come from either the year or the week (52 weeks). I am currently grouping items from the calendar year but cannot figure out a formula for taking say week 30 to week 29 of the next year and grouping it.
Does anybody have suggestions on how to enter in this formula?

Stephanie,
Some DB developers really need to be punched in the throat.
1st of all weeks are messy little animals all by themselves. they don't play nice with the other date increments. The start of a week rarely coincides with the start of a month or year...
So lets just say that you are willing to live with the fact that weeks and months don't usually jive and that the use of weeks in the equation will throw of the exact determination of the GL year by a day or few in either direction... Here is what you want...
IF {V_SHIPMENTS_WEEKLY.WEEK} >= 30
THEN {V_SHIPMENTS_WEEKLY.YEAR} + 1
ELSE {V_SHIPMENTS_WEEKLY.YEAR}
The effect will be:
weeks 1 - 29 of 2009 = 2009
weeks 30 - 52 of 2009 = 2010
weeks 1 - 29 of 2010 = 2010
weeks 30 - 52 of 2010 = 2011
HTH,
Jason

Similar Messages

  • OS X 10.6.5 Server AFP share - can't change group from 'staff' ???

    Hi,
    I'm running a new 10.6.5 XServe within a corporate AD environment. Well, when I say 'running' I mean testing - I could never let this odd beast loose on anyone with the awful state it's in.
    Trying to set up the AFP shares, I simply wanted to assign one of our AD groups as the POSIX group for the share, just as I do on our existing Tiger server. 'simply' he says... oh I wish!
    Server Admin 'lets' me change the group, then puts it right back to 'staff' again as soon as I hit Save. Same result when trying to change the Owner too, but I'm not needing to change that.
    From Terminal, the usual permissions commands have no effect either. Try chgrp MyGroupName MyFolderName.
    Tried changing while logged in as either root or admin, no difference.
    So, all I want to do is change the group that's assigned to a share's POSIX permissions. Am I expecting too much from SL? Anyone else had this problem, and know the trick to solving it?
    Can't believe this is happening - something so basic and important. I've wasted countless hours already with numerous other SL issues. Wish I'd never set eyes on the thing but it's been forced down my throat - we needed a new XServe, which turned up with SL installed of course. I'd gladly do a clean install of plain Leopard over the top, but apparently that's asking for (even more) trouble.
    This POSIX nonsense is just the latest obstacle I need to get sorted.
    Thanks for any help,
    Paul.

    Hi,
    I'm running a new 10.6.5 XServe within a corporate AD environment. Well, when I say 'running' I mean testing - I could never let this odd beast loose on anyone with the awful state it's in.
    Trying to set up the AFP shares, I simply wanted to assign one of our AD groups as the POSIX group for the share, just as I do on our existing Tiger server. 'simply' he says... oh I wish!
    Server Admin 'lets' me change the group, then puts it right back to 'staff' again as soon as I hit Save. Same result when trying to change the Owner too, but I'm not needing to change that.
    From Terminal, the usual permissions commands have no effect either. Try chgrp MyGroupName MyFolderName.
    Tried changing while logged in as either root or admin, no difference.
    So, all I want to do is change the group that's assigned to a share's POSIX permissions. Am I expecting too much from SL? Anyone else had this problem, and know the trick to solving it?
    Can't believe this is happening - something so basic and important. I've wasted countless hours already with numerous other SL issues. Wish I'd never set eyes on the thing but it's been forced down my throat - we needed a new XServe, which turned up with SL installed of course. I'd gladly do a clean install of plain Leopard over the top, but apparently that's asking for (even more) trouble.
    This POSIX nonsense is just the latest obstacle I need to get sorted.
    Thanks for any help,
    Paul.

  • SSRS Line graphs, change the axis maximum and minimum by month, and change data series from calendar year to financial year

    I am using SSRS and I cannot access SQL server to answer my problem, so the solution needs to be done via SSRS only.
    I am currently trying to graph some data. The problem is, the months on the X axis are aligned by calendar year. I need the first month to commence with July, with the last month on the axis to be June. This also means that the year series need to be changed
    from calendar year to Australian financial year.
    Screenshots are provided in the comments.

    Hi Northern,
    Per my understanding that you want to show the month in the x axis as the order of the financial year(7,8,9,10...4,5,6) and also display the year in the series group as the financial year, right?
    I have tested on my local environment and we can modify the query in the sql to get the financial year value based on the fields of Calendar year, details information below for your reference:
    1. Modify the query as below:
    SELECT
    Calendar_Date,CASE WHEN MONTH(Calendar_Date)>=7 THEN
    YEAR(Calendar_Date)+1
    ELSE YEAR(Calendar_Date) END AS Financial_Year,
    MONTH(Calendar_Date)as Financial_Month,
    Billing_Amount
    FROM TableName
    order BY
    Calendar_Date
    2. Add the "Billing_Aomount" in the Value area, "Financial_Month" in the Category group area and "Financial_Year" in the Series group area.
    3. Right click the  "Financial_Month" under the Category group to select the "Category group properties",click the sorting and add below expression in the Sort by to specify the order for the month in the x-axis:
    =switch(Fields!Financial_Month.Value="7",1,Fields!Financial_Month.Value="8",2,
    Fields!Financial_Month.Value="9",3,Fields!Financial_Month.Value="10",4,
    Fields!Financial_Month.Value="11",5,Fields!Financial_Month.Value="12",6,
    Fields!Financial_Month.Value="1",7,Fields!Financial_Month.Value="2",8,
    Fields!Financial_Month.Value="3",9,Fields!Financial_Month.Value="4",10,
    Fields!Financial_Month.Value="5",11,Fields!Financial_Month.Value="6",12)
    4. Preview you will get the sample chart display as below according to my sample data:
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • I created a calendar in the wrong calendar year.   I need to change it from 2012 to 2013. Help!!!

    I created a calendar in the wrong calendar year.   I need to change it from 2012 to 2013. Help!!!

    N000295, I am afraid you will have to start all over again. There is no way to change the year of the already created photo calender.

  • FI-AA Impact on changing the year dependent fiscal year period from 445 to 435

    Dear Friends,
    May I have your comment on the impact of below change
    Currently using Year Dependent fiscal year variant K5 and period end closing is *445
    future we want to use the same fiscal year dependent variant K5 , however the period end closing will be *435
    *445 Periods - 1st month 4th sat, 2nd month 4th sat, 3rd month 5th sat will be the closing periods
      similarly for the rest of the months in a year
    *435 Periods -  1st month 4th month, 2nd month 3rd sat, 3rd month 5th sat will be the closing periods
      similarly for the rest of the months in a year
    Impact on Asset Module and other  modules will be a great help
    Regards
    SB

    Hi Sanjai,
    SAP do not recommend to change a Fiscal Year Variant that has already
    been assigned to a company code and has already some postings. This
    will may create database inconsistencies
    Please check the following SAP notes which will give you an
    idea of some adverse effects that may happen as a result of a change
    based on the modules/components you have implemented in your system.
    427920     Analysis program for fiscal year conversion
    210861     Changing fiscal year variant in production system
    193713     SAPF070: Change of fiscal year variant
    672255     Shortened fiscal year/changing fiscal periods
    The change of the fiscal year or the change of the fiscal periods
    has an effect in many modules, for example, in FI, FI-AA, FI-SL, FI-LC,
    EC-CS, IM, CO, EC-PCA, MM, PP, SD, PS, PM.
    Corresponding risks (for example, data inconsistency, system standstill)
    can arise from incorrect changes to the fiscal year or from incorrect
    changes to the fiscal periods in a live SAP system.
    You can refer to the following wiki page also:
    http://wiki.sdn.sap.com/wiki/x/jYXrCw
    I hope you find this information helpful.
    Regards,
    Jose

  • FI Impact on changing the year dependent fiscal year period from 445 to 435

    Dear Friends,
    May I have your comments on the impact of below change
    Currently using year dependent fiscal year variant K5 and Period closing is *445
    Future we want to use the same year dependent fiscal year variant K5 and period end closing is *435
    *445 Periods - 1st month 4th sat, 2nd month 4th sat, 3rd month 5th sat will be the closing periods
      similarly for the rest of the months in a year.
    *435 Periods - 1st month 4th sat, 2nd month 3rd sat,  3rd month 5th sat will be the closing periods.
      similarly for the rest of the months in a year.
    Impact from FI perspective and other modules would be of great help
    Regards,
    SB

    Hi Sanjai,
    SAP do not recommend to change a Fiscal Year Variant that has already
    been assigned to a company code and has already some postings. This
    will may create database inconsistencies
    Please check the following SAP notes which will give you an
    idea of some adverse effects that may happen as a result of a change
    based on the modules/components you have implemented in your system.
    427920     Analysis program for fiscal year conversion
    210861     Changing fiscal year variant in production system
    193713     SAPF070: Change of fiscal year variant
    672255     Shortened fiscal year/changing fiscal periods
    The change of the fiscal year or the change of the fiscal periods
    has an effect in many modules, for example, in FI, FI-AA, FI-SL, FI-LC,
    EC-CS, IM, CO, EC-PCA, MM, PP, SD, PS, PM.
    Corresponding risks (for example, data inconsistency, system standstill)
    can arise from incorrect changes to the fiscal year or from incorrect
    changes to the fiscal periods in a live SAP system.
    You can refer to the following wiki page also:
    http://wiki.sdn.sap.com/wiki/x/jYXrCw
    I hope you find this information helpful.
    Regards,
    Jose

  • Impact on changing the year dependent fiscal year period from 445 to 435

    Dear Friends,
    May I have your comments on the impact of below change
    Currently using Year Dependent fiscal year variant K5 and period end closing is *445
    Future we want to use the same year dependent fiscal year variant K5, however the period end closing will be *435.
    *445 Periods - 1st month 4th sat, 2nd Month 4th Sat & 3rd Month 5th sat will be the closing periods
    similarily for the rest of the months in a year.
    *435 Periods - 1st month 4th sat, 2nd Month 3rd sat & 3rd Month 5th sat will be the closing periods
    similarly for the rest of the months in a year.
    Regards,
    SB

    Hi Sanjai,
    SAP do not recommend to change a Fiscal Year Variant that has already
    been assigned to a company code and has already some postings. This
    will may create database inconsistencies
    Please check the following SAP notes which will give you an
    idea of some adverse effects that may happen as a result of a change
    based on the modules/components you have implemented in your system.
    427920     Analysis program for fiscal year conversion
    210861     Changing fiscal year variant in production system
    193713     SAPF070: Change of fiscal year variant
    672255     Shortened fiscal year/changing fiscal periods
    The change of the fiscal year or the change of the fiscal periods
    has an effect in many modules, for example, in FI, FI-AA, FI-SL, FI-LC,
    EC-CS, IM, CO, EC-PCA, MM, PP, SD, PS, PM.
    Corresponding risks (for example, data inconsistency, system standstill)
    can arise from incorrect changes to the fiscal year or from incorrect
    changes to the fiscal periods in a live SAP system.
    You can refer to the following wiki page also:
    http://wiki.sdn.sap.com/wiki/x/jYXrCw
    I hope you find this information helpful.
    Regards,
    Jose

  • How do I create a new calendar for the current year, using last years calendar's birthday's/photos and comments from the lower pages?

    Each year for the past 5 years I make a family calendar and send copies to all he family members around the globe.  I hate that I have to recreate all the birthdays and special occasions from scratch, and re-drag all the photos onto these dates, in the lower half of the page of each month on the new calendar.  How can I create a new calendar for the current year and port all of these photos/comments into the new calendar from last years calendar, to save having to redo all this work!!  I am not talking about the upper half page of the photos only...I am referring to the calendar page of each month.
    Thanks in advance. 
    Colin

    Welcome to the Apple Discussions. Open iWeb so you see your original site in the left hand pane. Use the File->New Site menu option to create a new site. Give it the name you want.
    Now select a page in your original site and type Command+D. That will duplicate the page. Drag the duplicate page down to the new site and rename it as needed. Do that for the other pages you need in the original site.
    OT

  • Getting month from Calendar Year/month...

    Dear All,
    I'm using Webi 4.0 SP6 and I need to get months from Calendar Year/Month which I'm using in a query to display on Cross Table along with brands.
    1. Is there any standard function available to convert Calandar Year/Month (Say: 201401 to Jan or January).?
    2. How can I get month from Calendar Year/Month for cross-table?
    I will appreciate your reply.
    Many Thanks!!!
    Tariq Ashraf

    Tariq,
    Month =  Substr([Cal Year];5;2)
    Month Name = If Substr([Cal Year];5;2) = "01" then "Jan"
                             else if Substr([Cal Year];5;2) = "02" then "Feb"
                             else if Substr([Cal Year];5;2) = "03" then "Mar"
                             else if Substr([Cal Year];5;2) = "04" then  "Apr"
                             else if Substr([Cal Year];5;2) = "05" then  "May"
                             else if Substr([Cal Year];5;2) = "06" then  "Jun"
                             else if Substr([Cal Year];5;2) = "07" then   "Jul"
                             else if Substr([Cal Year];5;2) = "08" then  "Aug"
                             else if Substr([Cal Year];5;2) = "09" then   "Sep"
                             else if Substr([Cal Year];5;2) = "10" then   "Oct"
                             else if Substr([Cal Year];5;2) = "11" then  "Nov" else "Dec"
    If you have data like 20140101 then simply use = formatdate([Date];"Mon")

  • Why has Easter been removed from the U. S. Holidays calendar? The last year it shows up is 2012.

    Why has Easter been removed from the U. S. Holidays calendar? The last year it shows up is 2012.

    some sort of bug - inexplicable - causing problems with iPad calendars.
    You will see many threads regarding March 2013 issues.
    this is one of them:
    https://discussions.apple.com/message/20524762#20524762

  • In iTunes, why does music which has been ripped from a best-of CD continue to show the year of the CD release even after I change the year to the year of the song release in playlists?

    I often rip music from CDs of artists that released songs in the '60s and '70s. When I rip the music, in iTunes it shows the year of the CD release, usually something in the '90s or 2000s. I change the year in 'Get Info' to the correct year, and it changes it fine. However, after a while, it will show the old year again, the year of the CD. This is a problem because I like to arrange playlists based on song years, and this messes with that.
    Tell me: is there a way to permanently fix the reverting year problem? Also, when I spot a song that this has happened to, when I click on 'Get Info', the correct ear is still in there, and when I hit 'OK' it changes back. This is really frustrating...

    In some cases the original iTunes Store metadata seems to be given preference over personal changes. If you are seeing this then
    Go to Edit > Preferences > Store and turn off
    Show iTunes in the Cloud purchases
    Share details about your library with Apple
    On any iOS device go to Settings > Music and turn off
    Show All Music
    Close and reopen iTunes and/or reset the device and you should see your version of the metadata for each track rather than the original store data. If not it should reset as you play through content, or you can use my script UpdateTagInfo to force iTunes to read the current data from the tags.
    tt2

  • Hey ' I have hAd my iPhone 5s for a year now ' and can't remember my iCloud password ? And can't change it from my phone or the apple website? Phone hasn't been backed up for 32 weeks ? Any help on what I should doo!?

    Hey ' I have hAd my iPhone 5s for a year now ' and can't remember my iCloud password ? And can't change it from my phone or the apple website? Phone hasn't been backed up for 32 weeks ? Any help on what I should doo!?

    Go to http://iforgot.apple.com and sign in with your iCloud login. A new password will be sent to your associated email address. If this doesn't work you will have to contact Support. Go to https://getsupport.apple.com. Click' See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password'.

  • I have just changed over from a computer that was 11 years old, running Windows 98, to a new computer running Windows XP. With my old computer I could easily download video clips, they would open and play as soon as the download had ended. Now I have to c

    I have just changed over from a computer that was 11 years old, running Windows 98, to a new computer running Windows XP. With my old computer I could easily download video clips, they would open and play as soon as the download had ended. Now I have to click on the download box and click on "Play". Also, when I wanted to keep a clip, I just right clicked and a menu appeared and I would then click on "Save as" or similar. Now there doesn't appear to be any way to save the clips. Apart from a faster and more powerful computer I feel I've gone backwards. Can anyone help?

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Calendar app stuck on year view

    iPhone 4S running OS 8.1 - Calendar app stuck in year view. Shows todays date in red but when you try to go to "Today" nothing happens. Any thoughts?

    There is more than one place to change time. If you set the time to local, you need to go into Settings>Mail, Contacts, Calendar>scroll down to the bottom under calendar and set the time zone support there for the local time zone.

  • Calendar assignment in OAVH for '03' period control for calendar year dependent fiscal year.

    Hi
    We have a year dependent Fiscal Year in our client's system. It is a 5-4-4 Fiscal Year variant starting from March till Feb.
    While trying to create a new asset we faced an error "You cannot save this asset(Correct depreciation error)." I checked and found that the error is due to a missing calendar assignment in OAVH for the period control key '03' (Pro rata at mid-period) for our fiscal year variant. Till the last fiscal year it had been maintained, but for current fiscal year the assignment is not maintained.
    Can someone help me to understand how the calendar assignment is done in OAVH for a 03 period control key for a year dependent fiscal year like ours?
    I tried using the transaction OA84 (Generate Period Control), but it provides the calendar assignment for all other period control methods except for '03'. Is there some specific reason as to why OA84 does not generate for '03' period control?
    I checked the last fiscal year's assignments in OAVH for our fiscal year variant for '03' period control, but could not understand how it was configured, because it did not relate to the fiscal year variant assignment that we have done in OB29. Also, I even checked whether we need to enter the mid date of the periods, but that also was not done for the last fiscal year. I am unable to understand how the dates have been assgined.
    Given below is our last Fiscal Year's OAVH settings for '03' period control:
    FYV
    Period Cont
    Description
    Year
    Month
    Day
    Period
    AG
    3
    Pro rata at mid-period
    2014
    3
    17
    0
    AG
    3
    Pro rata at mid-period
    2014
    4
    18
    1
    AG
    3
    Pro rata at mid-period
    2014
    5
    16
    2
    AG
    3
    Pro rata at mid-period
    2014
    6
    16
    3
    AG
    3
    Pro rata at mid-period
    2014
    7
    18
    4
    AG
    3
    Pro rata at mid-period
    2014
    8
    15
    5
    AG
    3
    Pro rata at mid-period
    2014
    9
    15
    6
    AG
    3
    Pro rata at mid-period
    2014
    10
    17
    7
    AG
    3
    Pro rata at mid-period
    2014
    11
    14
    8
    AG
    3
    Pro rata at mid-period
    2014
    12
    15
    9
    AG
    3
    Pro rata at mid-period
    2014
    12
    31
    10
    AG
    3
    Pro rata at mid-period
    2015
    2
    13
    11
    AG
    3
    Pro rata at mid-period
    2015
    2
    28
    12
    Please advice.
    Thanks in Advance.
    Regards
    Ambarish

    Dear Ambarish,
    As it is a year dependent fiscal year variant, we should create the year for the variant via OB29, then generate the period via OA84.
    Best regards.
    Beam

Maybe you are looking for