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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sum value at 'all' level

Status
Not open for further replies.

jennyfher

MIS
Oct 8, 2003
23
US
Hi:
If I have a measure for example "count" that is decimal number and I performed a 'sum' aggregation function in the cube. When I go to the all levels in all dimension the total count is smaller than if I go to the db and query the sum(count) from table1.

count in olap (sum of count at all levels) = 36,874
count form the query (sum(count))= 42,974

Do you think this difference is cause for the decimal places

in the table up to 28 decimal places
in the cube the measure is type double

Or do you think something else is wrong

If I start doing drill down and compare the values of count from olap to the ones from the query the results are ok. It is only at all level the issues
 

How do you have your code displayed? Are you using the count function within OLAP? Or could it be distinctcount?

Just an idea - maybe not a great one...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top