如何在 BI Publisher 中进行条件计数

问题描述 投票:0回答:1

假设在“状态”列中,它们的值存在、不存在。我想统计有多少人在场或有多少人缺席。在 Bipublisher(rtf) 中我们怎样才能做到这一点?我需要在 MS Word 中编写什么代码? 我尝试了一些类似

<?if:Status='Present'>Count of 'Present': <?count(current-group()/Status[@value='Present'])?><?end if?> 
的代码,但它不起作用。给出错误。 enter image description here enter image description here

bi-publisher
1个回答
0
投票

你有

<?if:Status='Present'>

应该是

<?if:Status='Present'?>
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.