我在限制 mdx 中的查询时遇到问题,在 where 子句中使用 except 函数。我需要检索一组数据,但它们不在特定的集合中。然后我创建了下一个查询:
select {[Measures].[Amount], [Measures].[Transaction Cost], [Measures].[Transaction Number]} ON COLUMNS,{[ManualProcessing].[All ManualProcessings].[MAGNETICSTRIPE], ManualProcessing].[All ManualProcessings].[MANUAL]} ON ROWS
FROM [Transactions]
where except([Product].[All Products].Children,{[Product].[All Products].[Debit})
显然这很好用,但是当我尝试向切片器添加另一个限制时,我收到了这个错误:没有函数匹配签名(Set,Member)。
我目前正在开发 mondrian 3.1
当我唱除函数时,是否可以向切片器添加多个限制?还有其他方法可以得到这个吗?