Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal 10 Crosstab not display 2005 data 2

Status
Not open for further replies.

dbalynne

IS-IT--Management
Oct 28, 2004
5
US
I have created a report that has a crosstab. The 2004 data is displaying with my formula but the 2005 is not displaying in the crosstab.

Here is the formula I am using.
{WIP.Wdate} in dateserial(year(currentdate),month(currentdate)-12,1) to_ dateserial(year(currentdate),month(currentdate),1) and {ServiceCodes.SCCodeDetail} in ["100", "110", "120", "130", "135", "140", "150", "160", "170", "172", "174", "180","185","190","191", "200", "210","220", "230", "235", "240", "250", "260", "280","290"];

 
Hi,
If I read your formula correctly, the max date ( to_ dateserial(year(currentdate),month(currentdate),1) )is 1/1/2005 so no other 2005 data would be returned.

[profile]
 
How do I correct it?? I did not write this formula. Or is there a better way of doing this total?
 
If you want everything to date, then use currentdate as your current date. The formual looks like it was written to include just the first of the current month.

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top