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,...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

2同行回答

流淌Wow流淌Wow软件开发工程师德邦物流
应该是在FM里的数据源 改成仅限本地 吧试试,我记得是这样。显示全部
应该是在FM里的数据源 改成仅限本地 吧

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



试试,我记得是这样。收起
仓储/物流 · 2015-03-07
浏览829
nottawanottawa其它cas
我是在report studio 里的query property里改成 仅限本地,怕在fm 里改会影响其它的package.不知道在fm 里改和在 report 里改否效果一样?有什么区别? 谢谢!回复 2# 流淌Wow 显示全部
我是在report studio 里的query property里改成 仅限本地,怕在fm 里改会影响其它的package.
不知道在fm 里改和在 report 里改否效果一样?有什么区别?

谢谢!

回复 2# 流淌Wow 收起
IT其它 · 2015-03-07
浏览731

提问者

nottawa
其它cas

相关问题

相关资料

问题状态

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