Hi BO experts,
I have one derived table which im using to develop my report.
Table A
Email address | Type | Code | Date |
---|---|---|---|
abc@yahoo.com | 10 | 1-1-2013 | |
xyz@gmail.com | 10 | 1-2-2013 | |
abc@yahoo.com | 12 | 1-3-2013 | |
xyz@gmail.com | 12 | 1-4-2013 | |
john@gmail.com | 12 | 1-3-2013 | |
abc@yahoo.com | 12 | 1-20-2013 | |
nik@yahoo.com | TXT | 13 | 1-3-2013 |
Code- 10 means ----sent mails
code- 12 means-- failed mails
code-13 means--just a txt message
1- we want to count all emails and show emails address in table A where "Type"= 'Emails' and in the same table we want to add new colum where we want to count all the emails which have code='12' and Type= 'Emails' from table A
this is what we expecting
Emails table
Email address | Total emails Sent | failed email |
---|---|---|
abc@yahoo.com | 3 | 2 |
xyz@gmail.com | 2 | 1 |
john@gmail.com | 1 | 1 |
Now problem is in WEB 3.1 when we drag the object for failed email in the above table (with in specific date) it shows only i count regardless of date if there is atleast when failed email in table.
for example:- from Emails table where email address is abc@yahoo.com . i see total emails sent are 3 but failed email 1, instead of showing 2.
our Database is DB2.
what i'm doing wrong? why im not able to show correct numbers of failed emails?
thanks a lot
imtiaz