Solved

CR 2011- Create a formula to show data from the previous 2 weeks

Posted on 2013-05-14
2
268 Views
Last Modified: 2013-05-14
Hello
We are using CR 2011 -

I have a date field in a report called Action Due Date.
When the report is ran I would like to see only information pertaining to the last 2 weeks of the Action Due Date.
For example, say the report will be run on Friday, May 24. After it is refreshed, I only need data on the report from May 10-May24.

Any ideas? Thanks for taking the time.
Megan
0
Comment
Question by:wgraphics
2 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39166513
Try this

{ActionDueDate} IN [(CurrentDate - 14) to (CurrentDate)]

ANother way

{ActionDueDate}  >= CurrentDate - 14  AND {ActionDueDate} <= CurrentDate

mlmcc
0
 

Author Closing Comment

by:wgraphics
ID: 39166535
You always come through for me, mlmcc.
Thanks, you're a rock star.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now