CrossJoin

The MDX CrossJoin function returns the cross-product of two sets from different dimensions.

Syntax

CrossJoin ( set1, set2 )

Arguments

set1

A set to cross with set2.

set2

A set to cross with set1. Must not include any dimension used in set1.

Notes

Examples

select { (measure.[sales amount]), (measure.[sales quantity]) } on 10, crossjoin(members([Store Type], LEAFS), members([Payment Method], ALL)) on 100 from [Online Store];
sales amountsales quantity
Platform Self-operated StoreALL2900984302741
Platform Self-operated StoreCredit Card966945101034
Platform Self-operated StoreDebit Card967021100552
Platform Self-operated StoreAccount Balance967018101155
Platform Self-operated StoreOther00
Brand Flagship StoreALL2899837302895
Brand Flagship StoreCredit Card967012101209
Brand Flagship StoreDebit Card966293100722
Brand Flagship StoreAccount Balance966532100964
Brand Flagship StoreOther00
OtherALL2899778302948
OtherCredit Card966646101168
OtherDebit Card966902100849
OtherAccount Balance966230100931
OtherOther00
About

What is EuclidOLAP?
Architecture
Code & Docs

EuclidOLAP
Olap Web Console
Getting Started
Download
Community


Contact Us

euclidolap@outlook.com
Copyright © 2023 euclidolap.com. All Rights Reserved