简体   繁体   English

如何通过替换选项在两个日期之间刷新微策略中的增量多维数据集

[英]how to refresh an incremental cube in microstrategy between two dates by replace option

while we are trying to refresh an incremental cube daily using refresh option "replace" and for last 7 months filter which is defined as Postgresql statement using applysimple command:当我们尝试使用刷新选项“replace”每天刷新增量多维数据集时,以及过去 7 个月使用 applysimple 命令定义为 Postgresql 语句的过滤器:

"SELECT TO_char(current_date-INTERVAL '7 months','yyyymm')::numeric"

This filter gives the following error:此过滤器给出以下错误:

"Error: Invalid logical functions used in filter. Filter functions can only be Equal, And, Or and Not.

Error in Process method of Component: QueryEngineServer, Project XXXX, Job 3648, Error Code= -2147212264."

How can we handle this dynamic refresh logic?我们如何处理这种动态刷新逻辑? Thanks谢谢

Incremental Cube Refresh object does not allow usage of ApplySimple method for updates using "replace" method, the filter has to be created at Public Objects > Filters and for creating a time filter, a driving attribute of the report (if the report is about orders, an attribute like "order_date" ) should be chosen.增量立方体刷新 object 不允许使用 ApplySimple 方法使用“替换”方法进行更新,过滤器必须在公共对象 > 过滤器中创建,并且要创建时间过滤器,报告的驱动属性(如果报告是关于订单的) ,应该选择像“order_date”这样的属性)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM