AlreadyLost
MIS
Hi,
I had posted a complex sql problem to filter out a PE. Now I have another report that the users want to show the PE.
Here is my same example:
Example data:
Inv.ID ProgramCode Description RelatedProgramCode Amt
IN123 1002 Payment 1002 $40
IN123 2400 Payment 2400 $60
IN123 9915 Adjustment 1002 $40
Result:
Inv.ID ProgramCode Description RelatedProgramCode Amt
IN123 9915 Adjustment 1002 $40
This is the formula that I use to filter out 9915 but Now I need it in a new report. So I use the old report and modify the formula. How do I modify this formula so that it will bring in 9915 and it's relatedProgramCode?
if {table.programcode} = 9915 then 1
Then go to report->selection formula->GROUP and enter:
sum({@9915},{table.relatedprogramcode}) = 0
I had posted a complex sql problem to filter out a PE. Now I have another report that the users want to show the PE.
Here is my same example:
Example data:
Inv.ID ProgramCode Description RelatedProgramCode Amt
IN123 1002 Payment 1002 $40
IN123 2400 Payment 2400 $60
IN123 9915 Adjustment 1002 $40
Result:
Inv.ID ProgramCode Description RelatedProgramCode Amt
IN123 9915 Adjustment 1002 $40
This is the formula that I use to filter out 9915 but Now I need it in a new report. So I use the old report and modify the formula. How do I modify this formula so that it will bring in 9915 and it's relatedProgramCode?
if {table.programcode} = 9915 then 1
Then go to report->selection formula->GROUP and enter:
sum({@9915},{table.relatedprogramcode}) = 0