CROSSJOIN
Description:
This function is used to return the cross product of one or more sets.
Syntax:
Crossjoin(Set_Expression1 ,Set_Expression2 [,...n] )
Set_Expression1 * Set_Expression2 [* ...n]
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. |
Example:
SELECT
[Measures].[Internet Sales Amount] ON COLUMNS,
Crossjoin([Date].[Calendar].[Calendar Year].Members, [Product].[Product Categories].
[Category].Members) ON ROWS
FROM [AdventureWorksMF_ValueBased]