Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description:

This function is used to return the cross product of one or more sets.

Syntax:

Crossjoin(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:

Code Block
languagejava
SELECT 
  [Measures].[Internet Order Quanlity] on 0,
  NONEMPTY(CROSSJOIN({[Product].[Product Categories].children}, 
                           {[Customer].[Geography].[State-