首页 > 解决方案 > BIRT 中的聚合工具:在表格列上显示类似计数的数字

问题描述

这一定很简单,但我不能在 BIRT 3.7 的表头行上显示一个非常简单的过滤聚合。我设法在组页眉或页脚上使用计数聚合,但不是简单列表上的过滤聚合。

用例:我的 sql 语句 car 为字符串字段名称 TEST 返回字符串值“ERROR ...”。查询返回 734 个结果。我的表格显示所有结果。在标题行中,我只想显示在 SQL 中的计数,例如“ERROR%”。

我无法使用聚合工具来做到这一点! 聚合构建器

非常感谢您的帮助。

朱利安

标签: countbirt

解决方案


as i can't manage to find the correct way of filtering my aggregation, i provide the results from my SQL request. By i'd be glad to find the dynamic way of filtering it. Here is an image of a column that contains strings with "ERR". Le top field in red is my aggregation field served by a slq like '%ERR :%' statement. example


推荐阅读