水晶报告公式字段中的foreach循环

水晶报告公式字段中的foreach循环

问题描述:

请帮助我获取水晶报告公式字段中的配置文件Ids foreach类别的计数。水晶报告公式字段中的foreach循环

我需要显示像:2人对于电器类

这是我的SQL查询结果报告登记。

ProID CATID  Description 
1   2   Inspection 
1   4   Fabric Maintenance 
1   6   Electrical 
1   10   General Qualifications 
3   6   Electrical 
3   10   General Qualifications 
4   1   QA /QC Vendor Inspection 
6   1   QA /QC Vendor Inspection 
11   1   QA /QC Vendor Inspection 
12   1   QA /QC Vendor Inspection 
12   2   Inspection 
12   3   Coatings Inspection 
12   10   General Qualifications 

在此先感谢

+0

你有没有在水晶报告中使用group by描述 – Asif 2012-07-16 10:48:27

+0

感谢您的回复。我试图在公式中做一些愚蠢的事情。现在我在组中使用每个类别的profileIds数量,并且还插入了条形图。感谢您节省我的时间。 – Yoga 2012-07-17 10:45:40