![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, All. I know that this question was asked a million times all over the internet, but I can't find any definite answer or an example how to solve this problem. It's an old DISTINCT_COUNT thing. As we all know, when you connect to your cube that has a measure as a Distinct_Count through an Excel, it works fine when you have all members shown. But when you want to select only a couple of members (set a filter), all you see in Grand Totals is "#VALUE". Everyoneis saying that that's the logical behaviour of AS, because it can not summarize distinct counts. But then many articles, including SQL Server BOL are saying this: "Because distinct count measures are nonadditive, the presence of a distinct count measure significantly restricts the ability of Microsoft® SQL Server™ 2000 Analysis Services to preaggregate the cube. For this reason, it is recommended that each distinct count be placed in its own cube with no other measures. These cubes with distinct count measures can then be joined together with other cubes in a virtual cube that efficiently manages all of the measures." So, I tried to create a separate cube with ONLY this one distinct count measure and then create a virtual cube, but it still didn't fix this "#VALUE" problem. So, is there a way to fix it ? Anyone has any particular examples ? Please, help. It's urgent. Thanks, Victor. |
#3
| |||
| |||
|
|
For the sake of performance, you should create the distinct value in a separate cube. The Grand Totals issue has not changed. It will still behave the same way. Sorry. VictorV wrote: Hi, All. I know that this question was asked a million times all over the internet, but I can't find any definite answer or an example how to solve this problem. It's an old DISTINCT_COUNT thing. As we all know, when you connect to your cube that has a measure as a Distinct_Count through an Excel, it works fine when you have all members shown. But when you want to select only a couple of members (set a filter), all you see in Grand Totals is "#VALUE". Everyone is saying that that's the logical behaviour of AS, because it can not summarize distinct counts. But then many articles, including SQL Server BOL are saying this: "Because distinct count measures are nonadditive, the presence of a distinct count measure significantly restricts the ability of Microsoft® SQL Server™ 2000 Analysis Services to preaggregate the cube. For this reason, it is recommended that each distinct count be placed in its own cube with no other measures. These cubes with distinct count measures can then be joined together with other cubes in a virtual cube that efficiently manages all of the measures." So, I tried to create a separate cube with ONLY this one distinct count measure and then create a virtual cube, but it still didn't fix this "#VALUE" problem. So, is there a way to fix it ? Anyone has any particular examples ? Please, help. It's urgent. Thanks, Victor. |
#4
| |||
| |||
|
#5
| |||
| |||
|
| Distinct count and more |
![]() |
| Thread Tools | |
| Display Modes | |
| |