Calculated Members And NonEmptyCrossJoin -
04-14-2004
, 04:41 PM
Hi
I am using Crystal Analysis Pro as my front end. When eliminating null values from a result set, it uses the NonEmptyCrossJoin function. I have a report where I need to create calculated members and include them with members from another dimension that are mostly null because they don't apply to the location for which I am creating the report
The problem is that the NonEmptyCrossJoin function causes the result set to be empty since it eliminates calculated members. I get a result set when I use the crossjoin function and the NON EMPTY keywords in the Select Clause, but CAP is all or nothing with NonEmptyCrossJoin it either uses it everywhere or nowhere and uses NON EMPTY instead. It is controlled by a registry switch
I was wondering if anyone has come up with a work around for this that does not require converting the calculated members into fields in the underlying data.
On the rows
[Src Customer].[All Src Customer].Children (This dimension contains a lot of members, only a few of which are applicable to location XXX
Aggregate({[Dest Book Container].[Contnr Terminal Name].&[XXX].&[IT], [Dest Book Container].[Contnr Terminal Name].&[XXX].&[TK]}
Aggregate(Except([Src Book Container].[Contnr Terminal Name].&[XXX].Children, {[Src Book Container].[Contnr Terminal Name].&[XXX].&[IT], [Src Book Container].[Contnr Terminal Name].&[XXX].&[TK]} )
On the Columns
Year and month
Thanks
Asa Monsey |