Crysta- YTD formula

Posted on 2011-10-04
Medium Priority
Last Modified: 2012-05-12
Can someone please tell me what this means:
if {openeddate} in iif(month(currentdate)=1, minimum(LastYearYTD) to date(year(currentdate)-1,12,31),YearToDate) and {openeddate}<= maximum(LastFullMonth) then
Question by:moni81011
LVL 77

Accepted Solution

peter57r earned 1000 total points
ID: 36911167
It is testing whether openeddate is in the current year excluding the current month, unless the current month is January, when it is testing to see if Openeddate is in the last calendar year.

If the date is in the required range the value 1 is output from the formula else a value of 0 is output.
LVL 101

Expert Comment

ID: 36911203

It is probably being used to count the records in the last year or in the current year through the last month.


Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question