Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

show more fields in crosstab query and outer join another query

$
0
0
Hello Friends,

I am having issues to figure out how to solve the below issue

I am running the cross tab on inventory table to get sales record bi-weekly for the whole year

query is working fine as expected but when i do the cross tab query, It's only showing up records only when there is a sale but doesn't show any biweekly dates when there is no sale

so eventually i am trying to track down sales in a matrix form for the year by biweekly

i am trying to get something like this

Month 1/15 1/30/ 2/1 2/15 3/1 3/15...
M&M 14 15 0 20 45 0

and with the present query shows only

Month 1/15 1/30 2/15 3/1
M&M 14 15 20 45

i even created seperate table just to have bi-weekly dates but the join doesn't seem to do any good with Crosstab query

any thoughts will be appreciated. Thanks

Viewing all articles
Browse latest Browse all 13329

Trending Articles