Union

The MDX Union function returns the union of two input sets, optionally retaining duplicates.

Syntax

Union ( set1, set2 [,ALL] )

Arguments

set1

A set to join with set2.

set2

A set to join with set1.

ALL

If the optional ALL keyword is used, duplicates are retained.

Notes

Examples

with select members(measure) on 999, UNION(crossJoin(children(Goods.[ALL].[foods]), children([starting region].[ALL])), crossJoin(children(Goods.[ALL].[foods]), children([starting region].[ALL]))) on 111111 from [logistics.test] where ( Goods.[foods].[nut], Transport.[railway], [starting region].[Asia].[China], [starting date].[2019].[Q3].[M7], [completion date].[2019].[Q3].[M7] );
costincomequantity
nutAsia1234567891999.9982999.9970000000003
nutAmerica000
nutEurope000
wineAsia000
wineAmerica000
wineEurope000
beefAsia000
beefAmerica000
beefEurope000
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