claudermilk
Technical User
I'm completely out of ideas on this one & it seems like it should be easy. The data I am looking at is:
Table #1 Salesperson
salesperson ID
Table #2 Sales order
date
sales order number
salesperson ID
the join is: Left Outer Join salesperson on salesperson.id = sales order.id
This results in:
salesperson sales order
A 1
A 2
B 3
C 4
D 5
I then want to apply a date filter to look at YTD only and if order 4 is from last year, I expect to see:
salesperson sales order
A 1
A 2
B 3
C null
D 5
but what I get is:
salesperson sales order
A 1
A 2
B 3
D 5
This example is a cut-down query I'm using to test for a much more complex set of unioned saved views. I would expect once this test set works I can transfer the same logic over.
Table #1 Salesperson
salesperson ID
Table #2 Sales order
date
sales order number
salesperson ID
the join is: Left Outer Join salesperson on salesperson.id = sales order.id
This results in:
salesperson sales order
A 1
A 2
B 3
C 4
D 5
I then want to apply a date filter to look at YTD only and if order 4 is from last year, I expect to see:
salesperson sales order
A 1
A 2
B 3
C null
D 5
but what I get is:
salesperson sales order
A 1
A 2
B 3
D 5
This example is a cut-down query I'm using to test for a much more complex set of unioned saved views. I would expect once this test set works I can transfer the same logic over.