Symptom
How to retrieve the last 3 full months data for a date value in a crystal report.
Resolution
- Open Crystal Reports
- Go to Reports Tab > Selection Formula > Record.
- Write selection formula as:
- DATEDIFF (m, date, getdate ()) <= 3 And DATEDIFF (m, date, getdate ()) >= 3
Keywords
KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To
Product
SAP Crystal Reports XI