0

我在 RTF TEMPLATE 中有一个列,它通过使用来计算总和 -<?sum(current-group()/PAYMENT[../PAYMENT != ''])?>

***Tax deduction*** 
Description                        current                                              YTD
Voluntary                 `<?sum(current-group()/PAYMENT[../PAYMENT != ''])?>`        `<?sum(current-group()/YEAR)?`>
Involuntary               <?PAYMENT?>                                                 `<?sum(current-group()/YEAR)?`>
Pre tax                   `<?sum(current-group()/PAYMENT[../PAYMENT != ''])?>`        `<?sum(current-group()/YEAR)?`>

current我想计算值和YTD列值的总和。我怎样才能做到这一点?

4

1 回答 1

0

如果您有一个按名称命名的列(例如 CASH),您可以简单地使用 < 来计算列值的总和。总和(现金)?>,不使用重复组。

于 2021-01-28T07:28:38.850 回答