我正在使用Saiku,并尝试在默认的Sales多维数据集中使用符号'>(大于)'对mdx进行过滤。问题是它像字符串一样过滤而不是数字过滤。我在下面的查询中想要的值是 [51,52] ,但是服务器olap响应是 [6,7,8,9,51,52] 。知道如何过滤吗?
以下是查询:
WITH
SET [~ROWS] AS
{
FILTER([Time].[Weekly].[Week].Members, [Time].[Weekly]. [Week].CurrentMember.Properties("Caption") > '50')
}
SELECT
NON EMPTY {[Measures].[Unit Sales]} ON COLUMNS,
NON EMPTY [~ROWS] ON ROWS
FROM [Sales]
答案 0 :(得分:0)
响应是像波纹管一样使用'Cint':
tf.layers.dense
答案 1 :(得分:0)
我认为可能有其他方法。通过实验,某些方法可能会更有效。
WITH MEMBER Measures.ValueColumn as [Date].[Calendar].[July 1, 2001].MemberValue
MEMBER Measures.KeyColumn as [Date].[Calendar].[July 1, 2001].Member_Key
MEMBER Measures.NameColumn as [Date].[Calendar].[July 1, 2001].Member_Name
SELECT {Measures.ValueColumn, Measures.KeyColumn, Measures.NameColumn} ON 0
from [Adventure Works]