BIEE遇见问题备注

来源:互联网 发布:电影网cms采集 编辑:程序博客网 时间:2024/04/26 19:47

1.在用EXCEL刷数据源的时候,日期列全部显示为数字,比如在BIEE中显示为“2015-05-11”,在excel中刷出来为“45213”;

问题分析:在设置列属性的时候,看到显示为“文本”,去后台看视图,程序员用to_char函数将原来的日期格式转换成了字符串。(典型的坑爹)

处理方式:在列公式中,使用公式to_datetime函数将格式转换回去,变成日期即可;使用to_date总是不对,可能是因为to_datetime是BIEE自带函数的缘故。其实也可以用EVALUATE函数,但是这个函数需要启用,重启BI服务。

启用EVALUATE函数方式:\instances\instance1\config\OracleBIServerComponent\coreapplication_obis1 下的
NQSConfig.INI找到
# EVALUATE_SUPPORT_LEVEL:
# 1: evaluate is supported for users with manageRepositories permssion
# 2: evaluate is supported for any user.
# other: evaluate is not supported if the value is anything else.
EVALUATE_SUPPORT_LEVEL = 0;
将 0设置为2 (根据自己权限需要)
EVALUATE_SUPPORT_LEVEL = 2;
重启BI服务

2.


0 0
原创粉丝点击