EXCEPT

EXCEPT

This documentation is for Kyvos 2026.5.x. To view documentation for other Kyvos versions, click here.

This documentation is for Kyvos 2026.5.x. To view documentation for other Kyvos versions, click here.

Description:

The function is used to evaluate two sets and removes those tuples in the first set that also exist in the second set, optionally retaining duplicates.

Syntax:

Except(Set_Expression1, Set_Expression2 [, ALL ] )

Return Type:

SET

Parameters:

Parameter

Description

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, Except([Product].[Product Categories].[Category].Members, {[Product].[Product Categories].[Category].&[Bikes]}) ON ROWS FROM [AdventureWorksMF_ValueBased]

 

Copyright Kyvos, Inc. 2026. All rights reserved.