我也有其含有'Food','Book','Metal','Meat', etc.我的任務是成員表現出分類維度組我的銷售值,例如,組Food & Meat爲0,Metal & Tool爲1,Book爲2,等等。 [product].[type]維度 我的查詢似乎不起作用: WITH calculated member [Measures].[Grouped Type] AS
IIF([pr
我有選擇的加入兩個表存在, 表1 PK Val1 Val2 FK
1 a b 10
2 c d 11
3 e f
4 g h 12
表2 PK Val3
10 X
11 Y
12 Z
兩個表都有一個內部連接和所有的纈氨酸列我得到這個結果: Result
PK Val1 Val2 Val3
1 a b X
2 c d Y
4
我需要一種方法,使得我只有最後一個日期分區中的數據。 Internet上使用的代碼塊上的所有資源下面來處理這一挑戰: with member [Measures.LastData]
(
[Measures].[Measure Name]
,
Tail(filter([Dim Date Time].[Int Date].children,not IsEmpt