AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Analytica...
Shifting Year Back ...
 
Notifications
Clear all

Questions Shifting Year Back in Title

 
Acumatica Analytical Report Manager (Financial Report Writer)
Last Post by Amy Smith 6 years ago
4 Posts
3 Users
2 Reactions
2,029 Views
RSS
Posts: 3
 Amy Smith
Topic starter
November 20, 2019 3:35 pm
(@amy-smith)
Member
Joined: 6 years ago

I'm working on writing a comparative report.  We have an April 30th year-end, so I like to use written out months and years on reports (rather than period).  The formula below shows in the report correctly (i.e. November 2019).

=Format( '{0: MMMM yyyy}',Report.GetPeriodEndDate(@StartPeriod) )

 

How do I write it to shift the year back one for the prior year comparative column (i.e. I am trying to show November 2018 data).  I have tried adding a -1 but I get an error message of "The expression contains a call of an undefined function".

Help and thank you!

 

 


3 Replies
Donna Boes
Posts: 27
 Donna Boes
December 6, 2019 2:00 pm
(@bodonna)
Eminent Member
Joined: 8 years ago

Try this

=Format( '{0: MMM d, yy}', DateAdd( Report.GetPeriodEndDate(@StartPeriod), 'm', 1))

 


Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
December 26, 2019 4:45 pm
(@timrodman)
Famed Member
Joined: 11 years ago

Try this for going back one year:

=Format( '{0: MMM d, yy}', DateAdd( Report.GetPeriodEndDate(@StartPeriod), 'y', -1))

Reply
Gustavo Carrasquillo reacted
 Amy Smith
(@amy-smith)
Joined: 6 years ago

Member
Posts: 3
January 2, 2020 12:32 pm
Reply toTim RodmanTim Rodman

@timrodman

Thank you!  This worked!


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,532 Topics
  • 11 K Posts
  • 97 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Limited or no support from Acumatica?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×