Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aggregation Question

Status
Not open for further replies.

Thejuan

Programmer
Aug 10, 2003
9
0
0
AU
Im very new to this!

I have a situation similar to this example

My Fact table is an OrderItem table

ItemId, OrderId, ItemSoldFor


I have a dimension that is OrderType
OrderId, Type

The dimension is obviously for a group of Items (ie an Order)

When i do this the aggregration of sales is alot bigger than it should be?
 
Typically, what happens is you aggregate the data in the Fact Table. When it gets to the Cube Aggregations it is much larger than it should be. To avoid this, don't pre-aggregate the data in the Fact Table. Also, in the cube the data will be aggregated over multiple dimensions. You may need to refine your query to return data for the lowest levels in these dimensions to get the data to look right.

hth,

Justin
 
Thejuan have jou found a sultuion I have the same problem with budgets that should be a month level but not on a DAY level
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top