Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: calculation of data based on a specific date Post Reply Post New Topic
Author Message
Ytalo
Newbie
Newbie
Avatar

Joined: 01 Feb 2017
Location: United States
Online Status: Offline
Posts: 5
Quote Ytalo Replybullet Topic: calculation of data based on a specific date
    Posted: 24 Mar 2017 at 7:41am
I want to create a formula to automate a report that will show the number of incidents that accord in 7, 14, and 28 days from a specific date (not current date formula)
           7days   14days   28days
Offense1     2        7        20
Offense2     3        6        19
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 24 Mar 2017 at 9:59am
Use the datediff function.  I am assuming that you have some sort of running totals.  You can use the datediff in a formula for the Evaluate section of a running total.


Edited by kevlray - 24 Mar 2017 at 10:00am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.