Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
learntsql
524 Posts |
Posted - 2014-02-28 : 08:32:22
|
Hi All,I have 2 fact tables(created from datebase views) in my design.Two fact tables have the same measure say "Sales" but each fact (view) gets its specific sales for example fact1 contains Offline sales and fact2 contains Online sales.but in cube finally i have to show only one measure called "Sales" and this should contain the sum of two fact tables Sales measure sum.Can someone please guide me how to do that.Thanks in advance. |
|
learntsql
524 Posts |
Posted - 2014-03-01 : 04:19:22
|
Hi all,any idea please!!!.TIA. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2014-03-01 : 11:46:19
|
quote: Originally posted by learntsql Hi All,I have 2 fact tables(created from datebase views) in my design.Two fact tables have the same measure say "Sales" but each fact (view) gets its specific sales for example fact1 contains Offline sales and fact2 contains Online sales.but in cube finally i have to show only one measure called "Sales" and this should contain the sum of two fact tables Sales measure sum.Can someone please guide me how to do that.Thanks in advance.
Create a calculated measure for that adding both------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
learntsql
524 Posts |
Posted - 2014-03-02 : 12:46:36
|
thanks Visakh...let me try...much appreciated your help... |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2014-03-03 : 04:25:32
|
no probslet me know how you got on------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
|
|
|