Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / April 2008

Tip: Looking for answers? Try searching our database.

Aggregate when measure contains a specific value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Owen J. - 07 Apr 2008 23:01 GMT
I have the following:

A hierarchy named [Tire].[Tire Hierarchy] that contains a list of tires by
tire manufacturer.

I have two measures in the fact table:
[Measures].[NRT Units]
[Measures].[Times Retreaded]

I need to create a sum of [NRT Units] for all tires at any level when the
[Times Retreaded] = 1.  Anyone have any suggestions?
MC - 08 Apr 2008 06:09 GMT
Would it be viable to create dimension on times retreaded? You can filter by
measure but it will be easier to do i you create a dim and then filter by
it. Not to mention what does it mean = 1? Does it aggregate on diff levles?

MC

>I have the following:
>
[quoted text clipped - 7 lines]
> I need to create a sum of [NRT Units] for all tires at any level when the
> [Times Retreaded] = 1.  Anyone have any suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.