I tried searching similar problems like this in Crystal Report section, but I couldn't find any. Do let me know if there's already a topic like this. Tq in advance!
I'm facing problem in using the Sum (fld, condFld, cond) formula.
This is my objective:
- To get total of Target Amount and Actual Amount and put it in Report Header (kindly refer to Attachment preview.jpg where red circles and purple circles indicate which data it should take as the total)
My design structure:
- Data being grouped by Region (in yellow color), each region has it's own Sales Target and Actual Sales. I've attached also the sql grid (if it's any help)
- My initial plan was to use the Sum (fld, condFld, cond) like this:
Sum (amount,type,where type='Target') but since we can only use boolean, date and time as condition, I tried putting a date column DTE_TEST, where Actual Sales= sysdate-1, and Target Sales=sysdate (just to make it as indicator purpose).
- Therefore, when I tried to implement that in my formula, it gives error "This Group condition is not known" (as shown in attachment formula.jpg)
Hope I explained it clear enough! Would like to hear what experts might say about my problem. Thanks! :)