我有一个销售事务事实表和客户维度表。我要用交易计数作为衡量标准。
我要我的报告:
No. of Time Transaction doing Customers Transactions
1 10 10
2 6 12
3-6 5 ??如何在OLAP中使用mdx实现这一点,甚至使用excel,但维护枢轴表结构。
发布于 2017-06-01 09:00:39
您可以创建这样的措施:
With
Member [Measures].[Customers with 1 transaction] as
Sum(
existing [Customer].[Customer].[Customer].Members,
IIF(
[Measures].[TransactionCount] = 1,
1,
NULL
)
)https://stackoverflow.com/questions/44301920
复制相似问题