Hi,
I'm using CR XI with an excel database.
I'm trying to create 3 outputs for one group based on three separate date ranges. The ranges are pulled from parameter fields. They are:
Week (Start/End) - WTD
Month (Start/End) - MTD
Cumulative (Start/End) - Cum
My report looks something like this:
Error Type WTD MTD Cum
Type A 2 4 5
Type B 1 1 2
However...I've created 3 separate formulas for each variable type. They look like this:
-----------------
if {export_.QA Finding Date} in {?CumStart} to {?CumEnd} then
(
if isnull({export_.QA Finding}) or
{export_.QA Finding} <> "Analyst / Worksheet- didn't record credit score" then
0 else 1
)
-----------------
The ONLY difference between the formulas (I copied and pasted) is the parameter fields.
I then consolidate the formulas through a Sum formula like this:
---------
{@Etype1Cum} +
{@Etype2Cum} +
{@EtypeNCum}
---------
Finally, I create a summary for each of these formulas and place them in the report to print for each group member.
Here's the issue...The formulas for Week, Month and Cumulative are all outputting the same data. So my report looks like this even though the values are definitely different.
----------
Error Type WTD MTD Cum
Type A 2 2 2
Type B 1 1 1
---------
Any ideas???
I'm using CR XI with an excel database.
I'm trying to create 3 outputs for one group based on three separate date ranges. The ranges are pulled from parameter fields. They are:
Week (Start/End) - WTD
Month (Start/End) - MTD
Cumulative (Start/End) - Cum
My report looks something like this:
Error Type WTD MTD Cum
Type A 2 4 5
Type B 1 1 2
However...I've created 3 separate formulas for each variable type. They look like this:
-----------------
if {export_.QA Finding Date} in {?CumStart} to {?CumEnd} then
(
if isnull({export_.QA Finding}) or
{export_.QA Finding} <> "Analyst / Worksheet- didn't record credit score" then
0 else 1
)
-----------------
The ONLY difference between the formulas (I copied and pasted) is the parameter fields.
I then consolidate the formulas through a Sum formula like this:
---------
{@Etype1Cum} +
{@Etype2Cum} +
{@EtypeNCum}
---------
Finally, I create a summary for each of these formulas and place them in the report to print for each group member.
Here's the issue...The formulas for Week, Month and Cumulative are all outputting the same data. So my report looks like this even though the values are definitely different.
----------
Error Type WTD MTD Cum
Type A 2 2 2
Type B 1 1 1
---------
Any ideas???