我也有其含有'Food','Book','Metal','Meat', etc.我的任务是成员表现出分类维度组我的销售值,例如,组Food & Meat为0,Metal & Tool为1,Book为2,等等。 [product].[type]维度 我的查询似乎不起作用: WITH calculated member [Measures].[Grouped Type] AS
IIF([pr
我需要一种方法,使得我只有最后一个日期分区中的数据。 Internet上使用的代码块上的所有资源下面来处理这一挑战: with member [Measures.LastData]
(
[Measures].[Measure Name]
,
Tail(filter([Dim Date Time].[Int Date].children,not IsEmpt
这与我提出的另一个问题类似(MDX - Running Sum over months limited to an interval),但我觉得我在那里跟踪。 让我重新开始。 我有一个计算度量 MEMBER [Measures].[m_active] AS ([Measures].[CardCount], [Operation].[Code].[ACTIVATION])
,我想在很短的时间间隔
我在度量的聚合方面遇到问题。 真实世界的情景是,客户想要分析在该周进入商店的客户数量的比例。 我们知道每周输入的客户数量以及购买类型(昂贵,适中,便宜)的购买次数。 由于存在不同的购买类型,因此会为该位置和该周创建多行。因此同样的措施(NumberOfWalkInCustomers)被复制。 These are the records. NumberOfWalkInCustomers are th