SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Sum of two measures as one measure in final displa
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

learntsql
Aged Yak Warrior

India
514 Posts

Posted - 02/28/2014 :  08:32:22  Show Profile  Reply with Quote
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
Aged Yak Warrior

India
514 Posts

Posted - 03/01/2014 :  04:19:22  Show Profile  Reply with Quote
Hi all,

any idea please!!!.

TIA.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 03/01/2014 :  11:46:19  Show Profile  Reply with Quote
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 MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

learntsql
Aged Yak Warrior

India
514 Posts

Posted - 03/02/2014 :  12:46:36  Show Profile  Reply with Quote
thanks Visakh...let me try...
much appreciated your help...
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 03/03/2014 :  04:25:32  Show Profile  Reply with Quote
no probs
let me know how you got on

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000