dbTalk Databases Forums  

Question on measure groups

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Question on measure groups in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bhaskar
 
Posts: n/a

Default Question on measure groups - 07-28-2006 , 08:53 AM






Hi,

I have two fact tables in a cube, one at Product level and other at Product
Family level. With measure groups , created a cube with multip fact tables.

When i browse the data at Product Level, the measure from the second fact
tables are coming with the total aggregated value. Is there any way to stop
this value and show 'N/A' (not applicable) something like this? the reason i
want to show like this is second fact measures are at diff level.

Any pointers are really appreciated.

Thanks in advance
Bhaskar

Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: Question on measure groups - 07-28-2006 , 09:41 AM






you can create a scope calculation
something like:

scope(product.product level.members, measures.[measure1]);
this='N/A';
end scope();


"Bhaskar" <Bhaskar (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I have two fact tables in a cube, one at Product level and other at
Product
Family level. With measure groups , created a cube with multip fact
tables.

When i browse the data at Product Level, the measure from the second fact
tables are coming with the total aggregated value. Is there any way to
stop
this value and show 'N/A' (not applicable) something like this? the reason
i
want to show like this is second fact measures are at diff level.

Any pointers are really appreciated.

Thanks in advance
Bhaskar



Reply With Quote
  #3  
Old   
Bhaskar
 
Posts: n/a

Default Re: Question on measure groups - 07-28-2006 , 11:58 PM



Hi Jeje,
Can you pls point to me for some technical links where i can get more
information on scope cacculations.

Thanks
Bhaskar

"Jéjé" wrote:

Quote:
you can create a scope calculation
something like:

scope(product.product level.members, measures.[measure1]);
this='N/A';
end scope();


"Bhaskar" <Bhaskar (AT) discussions (DOT) microsoft.com> wrote in message
news:9059DA17-6758-485F-BB49-AEA6B8121B63 (AT) microsoft (DOT) com...
Hi,

I have two fact tables in a cube, one at Product level and other at
Product
Family level. With measure groups , created a cube with multip fact
tables.

When i browse the data at Product Level, the measure from the second fact
tables are coming with the total aggregated value. Is there any way to
stop
this value and show 'N/A' (not applicable) something like this? the reason
i
want to show like this is second fact measures are at diff level.

Any pointers are really appreciated.

Thanks in advance
Bhaskar




Reply With Quote
  #4  
Old   
Jeje
 
Posts: n/a

Default Re: Question on measure groups - 07-29-2006 , 08:38 AM



download the zip file from this page:
http://sqljunkies.com/WebLog/mosha/a...2/16/7852.aspx

other resources:
http://www.mosha.com/msolap/yukon.htm


"Bhaskar" <Bhaskar (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi Jeje,
Can you pls point to me for some technical links where i can get more
information on scope cacculations.

Thanks
Bhaskar

"Jéjé" wrote:

you can create a scope calculation
something like:

scope(product.product level.members, measures.[measure1]);
this='N/A';
end scope();


"Bhaskar" <Bhaskar (AT) discussions (DOT) microsoft.com> wrote in message
news:9059DA17-6758-485F-BB49-AEA6B8121B63 (AT) microsoft (DOT) com...
Hi,

I have two fact tables in a cube, one at Product level and other at
Product
Family level. With measure groups , created a cube with multip fact
tables.

When i browse the data at Product Level, the measure from the second
fact
tables are coming with the total aggregated value. Is there any way to
stop
this value and show 'N/A' (not applicable) something like this? the
reason
i
want to show like this is second fact measures are at diff level.

Any pointers are really appreciated.

Thanks in advance
Bhaskar






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.