0

This is my Query. But its not working as expected.Count of Hard bounce list retrieved using Query is different from tracking report hard bounce list :

select 
  E.[Email]
from 
  Test_DE E
inner join 
  _bounce B 
on 
  B.SubscriberKey = E.[SubscriberKey]
where 
  B.BounceCategory = 'Hard bounce'
6
  • 1
    "its not working as expected" is not very informative. Can you please explain what you expect from the query? And why it is not working as expected in it's current form? Commented Aug 29, 2022 at 8:50
  • Count of Hard bounce list retrieved using Query is different from tracking report hard bounce list
    – SFMC
    Commented Aug 29, 2022 at 9:28
  • 1
    Have you validated duplicates? Bounces on jobs outside just the one you sent? I am assuming as you mention tracking report that this is specific to a single send job. This means your count would be off because the _Bounce DV is across any and every bounces this SubscriberKey has ever had. Meaning the counts would not match unless you limit the DV to just that job as well. Commented Aug 29, 2022 at 16:07
  • Believe @Gortonington hit the nail on the head. From the limited info, I believe you're requesting the following: 1) Give me all the hard bounces that have ever occurred over X time period (tracking extract) 2) Inner join and give me 1 hard bounce where the subscriber is in all subscribers. This is limiting it to 1 hard bounce per sub Commented Aug 29, 2022 at 18:32
  • 1
    In that case I think @Gortonington should move his comment to an answer, as I would expect the count to be off based on the query. One report you're asking for all hard bounces, the other you're not. Commented Sep 1, 2022 at 16:25

1 Answer 1

1

Moving from Comment to Answer to make it easier to find solution:

I am assuming as you mention tracking report that this is specific to a single send job. This means your count would be off because the _Bounce DV is across any and every bounces this SubscriberKey has ever had. Meaning the counts would not match unless you limit the DV to just that job as well.

Essentially, the tracking numbers you see in the tracking report are aligned to just that single send job that was executed. This means that it will only show a hard bounce occuring if it happened in that context.

BUT the Bounce Dataview is all bounces across all send jobs for the past 6 months. This means that a subscriber can have multiple hard bounces here due to the different send job contexts and other variables.

So trying to compare the tracking number to the dataview number from your query is similar to trying to find out why in your fridge you only have 1 popsicle, but when you go to the grocery store, you can find dozens of them.

So, to compare apples to apples, you would want to add a condition to your SQL to target just that job (usually JobID) and that should align contexts.

4
  • this means every send, we need to use JobId to retrieve this right?
    – SFMC
    Commented Sep 2, 2022 at 7:30
  • To use jobid in query we need to join sent dataview right?
    – SFMC
    Commented Sep 2, 2022 at 15:18
  • @SFMC Jobid is a field in _bounce (help.salesforce.com/s/…) Commented Sep 3, 2022 at 1:12
  • Thank you @Gortonington
    – SFMC
    Commented Sep 5, 2022 at 13:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .