NONEMPTYCROSSJOIN
Description:
This function is used to return a set that contains the cross product of one or more sets, excluding empty tuples and tuples without associated fact table data.
Syntax:
NonEmptyCrossjoin(Set_Expression1 [ ,Set_Expression2,...] [,Count ])
Return Type:
SET
Parameters:
Parameter | Description |
|---|---|
Set_Expression1 | It is a valid MDX expression that returns a set. |
Set_Expression2 | It is a valid MDX expression that returns a set. |
Count | It is a valid numeric expression that specifies the number of sets to be returned. |
Example:
select
[Measures].[Internet Order Quanlity] on 0,
NONEMPTYCROSSJOIN([Customer].[Geography].[Country],
[Product].[Product Categories].[Category]) on 1
from [AdventureWorksMF]