IT其它商业智能

filter:[Calenddar Year Month]=[YM] ?该如何转换数据类型?

这个filter:[Calenddar Year Month]=[YM] 错在哪?该如何转换数据类型?[LAst 7month] item-> _add_months (current_date,-7)[YM]item ->extract(year, [LAst 7month]) * 100 + extract(month, [LAst 7month])   ( 值是: 201408)[Calenddar Year Month]-> 201401,...20...显示全部
这个filter:[Calenddar Year Month]=[YM] 错在哪?该如何转换数据类型?


[LAst 7month] item-> _add_months (current_date,-7)
[YM]item ->extract(year, [LAst 7month]) * 100 + extract(month, [LAst 7month])
   ( 值是: 201408)

[Calenddar Year Month]-> 201401,...201503


但这个filter:[Calenddar Year Month]=[YM] 出现error message:

多谢!!


UDA-SQL-0458 PREPARE failed because the query requires local processing of the data. The option to allow local processing has not been enabled.
UDA-SQL-0475 The OLAP function 'sum' contains a clause (AT or PREFILTER) that is not supported by the database. This operation requires local processing of the data.
RQP-DEF-0177 An error occurred while performing operation 'sqlPrepareWithOptions' status='-120'.
UDA-SQL-0458 PREPARE failed because the query requires local processing of the data. The option to allow local processing has not been enabled.
UDA-SQL-0475 The OLAP function 'sum' contains a clause (AT or PREFILTER) that is not supported by the database. This operation requires local processing of the data.收起
参与5

查看其它 1 个回答流淌Wow的回答

流淌Wow流淌Wow软件开发工程师德邦物流
应该是在FM里的数据源 改成仅限本地 吧

2015-3-7 8-17-08.png



试试,我记得是这样。
仓储/物流 · 2015-03-07
浏览817

回答者

流淌Wow
软件开发工程师德邦物流
擅长领域: 大数据商业智能cognos

流淌Wow 最近回答过的问题

回答状态

  • 发布时间:2015-03-07
  • 关注会员:2 人
  • 回答浏览:817
  • X社区推广