sql server - MS Analysis Cube - one-to-many joins -


i building olap cube in ms sql server bi studio. have 2 main tables contain measures , dimensions.

one table contains

date | keywords | measure1  

where date-keyword composite key.

one table contains looks like

date | keyword | product | measure2 | measure3  

where date-keyword-product composite key.

my problem there can one-to-many relationship between date-keyword's in first table , date-keyword's in second table (as second table has data broken down product).

i want able make queries when filtered given keyword:

                                measure1    measure2    measure3 ============================================================ tuesday, january 01 2013        23          19          18 ============================================================     bike                        23     car                         23          16          13     motorcycle                  23                               caravan                     23          2           4        van                         23          1           1 

i've created dimensions date , producttype i'm having problems creating dimension keywords. can create keyword dimension affects measures second table not first.

can point me tutorials doing sort of thing?

turns out first table had one row null values (a weird side effect of uploading excel file straight ms sql server db). because value cube trying apply dimension null in 1 row, whole cube build , deploy failed no useful error messages! grr


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -