Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Create a link table between 2 tables

I have a Facts table which comes from several dimension table and it looks like this table 1:

 

Then i got another table table 2:

 

and i want to create a table 

 

which should have all the data from table 2 but only the SUM OF sales val of table 1 and it should be the aggregate of the rows from table 1 which should match with particular rows of table 2(row 1) and like wise.
what's the best approach ?

 

3 Replies