Intersect

The MDX Intersect function returns the intersection of two input sets, optionally retaining duplicates.

Syntax

Intersect ( set1, set2 [,ALL] )

Arguments

set1

A set to intersect with set2.

set2

A set to intersect with set1.

ALL

The optional ALL keyword retains matching duplicates in set1 and set2.

Notes

Examples

select members(measure) on 0, intersect(members(Calendar), children(Calendar.[ALL].[2021])) on 1 from [Online Store] ;
sales amountsales quantitycash back
Q143204320
Q243204320
Q322088205390
Q421231223170
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