OBIEE自定义格式 - 使用VARCHAR数据类型更改列数据格式

发布于 2025-01-28 16:23:56 字数 142 浏览 4 评论 0原文

在Oracle BI Admin工具中,我们可以在措施中使用替换函数来更改列数据格式(VARCHAR AS DATATYPE),然后在报告中使用它。但是我需要直接在报告中进行。 如何在“列属性”中使用替换函数 - > “数据格式”?还是在报告中有其他方法可以做到?

In Oracle BI Admin Tool we can use REPLACE function in a measure to change a column data format(varchar as datatype) and then use it in report. But I need to do it directly in report.
How can I use Replace function in 'Column Properties' -> 'Data Format'? or is there any other way to do it in report?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别念他 2025-02-04 16:23:56

替换不会更改数据类型。铸件是可以做到这一点的函数,在RPD和分析中是相同的:

Changes the data type of a value or a null value to another data type.

CAST(expr AS type)

expr is any expression.
type is any datatype.

Example: CAST(hiredate AS CHAR(40)) FROM employee

REPLACE doesn't change the data type. CAST is the function which does that and it's the same in RPD and in the analyses:

Changes the data type of a value or a null value to another data type.

CAST(expr AS type)

expr is any expression.
type is any datatype.

Example: CAST(hiredate AS CHAR(40)) FROM employee
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文