COGNOS 8 Bi值提示

发布于 2024-07-30 08:42:44 字数 360 浏览 2 评论 0原文

目前,我在报告中添加了一个值提示(UI 选择为列表框),并且使用的日期项目名称为“YEAR”。 现在,当我运行报表时,值提示中的值如下所示:

YEAR

2004

2005

2006

我想要做的是摆脱值提示框的输出中存在的年份标签,更清楚地,值提示框中的输出应如下所示:

2004

2005

2006

有人可以让我知道如何实现这一点吗?

Currently I have a value prompt added to my report (with UI selected as List-Box) and the date item used is name 'YEAR'. Now when I run the report the values in the value prompt are seen as below:

YEAR

2004

2005

2006

What I want to do is get rid of the year tag that is present in the output of the value prompt box, more clearly the output in the value prompt box should be as below:

2004

2005

2006

Can someone let me know how that can be achieved?

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

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

发布评论

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

评论(1

美人如玉 2024-08-06 08:42:45

大家好,我大概知道如何做到这一点。 只需两行脚本就可以完成这项工作。 由于我没有得到任何答案,我认为没有多少人知道这一点,所以我将其发布在这里。

假设我将列表框命名为“promptYear”,

那么将以下代码片段放入 HTML 项目即可完成这项工作。

<script> document.formWarpRequest._oLstChoicespromptYear.remove(0); document.formWarpRequest._oLstChoicespromptYear.remove(0); </script>

hi guys i kinda figured out how this can be done. its just two lines of script which does the job. Since i din get any answer i thought not many people know about this so i am posting it here.

Lets say i name my List Box 'promptYear'

Then the following piece of code put in an HTML item does the job.

<script> document.formWarpRequest._oLstChoicespromptYear.remove(0); document.formWarpRequest._oLstChoicespromptYear.remove(0); </script>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文