Solved

getting data for the last 30 days

Posted on 2012-03-22
1
377 Views
Last Modified: 2012-03-23
I need to add a formula on my report that retrieves data only for the last 30 days basing the current date as the starting point.

Can someone please show me how this can be achieved?

Thank you much.
0
Comment
Question by:metropia
1 Comment
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 37754834
Try something like

{YourDateField} >= CurrentDate - 30

If there are future dates in the field

{YourDateField} >= CurrentDate - 30
AND
{YourDateField} <= CurrentDate


mlmcc
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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