BIRT。没有价值的平均功能' 0'

时间:2015-07-28 08:48:08

标签: eclipse report birt

我正在与BIRT报道。我有表"项目计划数量","完成数量"和百分比。像这样的计划50,完成20,百分比40%......等等。

在此行之后,我得到了“计划数量”的总和,“已完成数量”的总和' 和百分比。主要问题是这个ave公式的百分比是等于0。

任何人都知道如何设置过滤器或表达式,例如"衡量["%"]!=' 0'"或类似的东西?

1 个答案:

答案 0 :(得分:0)

for the record, 192.168... is a purely internal IP. Unless someone is on your LAN, they won't have access to it. This means that nobody on the WAN can see the link you posted.

As to your issue - here are a few things to try: 1. Check your data type. I think integers round down so AVE( 12/13 ) will equal 0 instead of 0.923. 2. If your wanting to avoid zero values in your average, you'll need to gather counts of non-zeros which requires some scripting. You'll probably be best off creating a scripted data set for this.

See if you can take a screenshot and attach it to this issue if neither of these ideas work or if you need further assistance (particularly with the second option I suggested).

Thanks!