Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Aggregate when measure contains a specific value

 
   Database Help (Home) -> Data Warehouse RSS
Next:  Storing natural keys in the dimension tables, to ..  
Author Message
Owen J.

External


Since: Apr 07, 2008
Posts: 3



(Msg. 1) Posted: Mon Apr 07, 2008 3:01 pm
Post subject: Aggregate when measure contains a specific value
Archived from groups: microsoft>public>sqlserver>datawarehouse (more info?)

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?

 >> Stay informed about: Aggregate when measure contains a specific value 
Back to top
Login to vote
MC

External


Since: Jan 24, 2007
Posts: 38



(Msg. 2) Posted: Tue Apr 08, 2008 7:09 am
Post subject: Re: Aggregate when measure contains a specific value [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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


"Owen J." wrote in message

>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?

 >> Stay informed about: Aggregate when measure contains a specific value 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Measure with aggregate None ... - I have a measure that can't be aggregated (forecasted average item price per month per productgroup), only values calculated based on this measure can be calculated. I have set its Aggreagatefunction to none. But when i'm browsing the cube and go down...

SQL Scheduled Jobs - Is there a way to monitor schedule jobs and restart the jobs automatically when it faills and if it fails then notify the responsible person, is there a tool to do this ?

Running total with "treshold value" detection..? - Hi, I have to create a query which evalaute, for each year, the employees who reached a particular number of absences and when this value is reached. I have 1 000 000 records in my absence table. my table is like this: DateID, EmployeeID, ActivityID,...

Problem with multiple instant of SQL Server - I have 2 instant of SQL server on the same machine. 1st instant keep most of the static information - Dimensional data 2nd instant keep most of the transaction information. When I try to use the Analysis Services, I have 2 connection, but they can't ..

Near Real time updating of fact table - -what is the best method that to implement the near real time updating of a fact table without affecting all those users who are reading from it? -fact table in question is only 1.8gb in size, 3.1 million rows, expect near real time updating of approx....
   Database Help (Home) -> Data Warehouse All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]