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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display an accumulator if it does not exist for an employee?

Status
Not open for further replies.

NOLA

Technical User
Apr 14, 2003
18
0
0
US
I created a report that list employees with a certain accumulator and the amount, but one employee does not have this accumulator and I am trying to list this employee with zero values? Is this possible?

 
All you need to do is a Derived Field with a SUM(DISTINCT DECODE("ps_al_ytd_accum.accum_nbr",'accumulator number',"ps_al_ytd_accum.accum_amount",0)) Also, be sure that you have Database Grouping On.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top