簡體   English   中英

如何在Crystal Report中按組獲取總和

[英]How to get sum by groups in Crystal Report

我想按Crystal Reports中的組獲取​​總和。

Group OVERALL
-----------------
      group 1
     --------------
          5.00
          5.00
         10.00
     --------------
     total group 1      20.00
     --------------
      group 2
      --------------
         10.00
         25.00
         15.00
      --------------
     total group 2      50.00
-------------------
Total Group OVERALL     70.00

使用這個公式, sum({field.amount}, {field.group})我只得到OVERALL的總和,而不是第1組和第2組的總和。

  1. 要求和的右鍵單擊字段
  2. 選擇“插入”->“摘要”,然后在同一對話框窗口中選擇下面的“分組依據”字段
  3. 點擊確定

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM