【发布时间】:2021-07-01 13:30:11
【问题描述】:
我在 SSRS 中设计了损益表。它有两个行组,科目类型和科目表中的科目构成明细。我遇到的问题是我需要添加和减去一些组总数。
例如,有一组帐户名称为 Sales,下一组是 Returns and Allowances,下一组是 COGS。我需要插入一个汇总 Sales 和 Returns 和 Allowances 组的行。然后我需要在 COGS 组之后插入一行,从 Sales 和 Returns 和 Allowances 总计中减去 COGS。
例如:
Sales
Acct 1
Acct 2
Sales Total
Returns and Allowances
Acct 3
Acct 4
Returns and Allowances Total
Net Sales = Sales Total + Returns and Allowances Total
COGS
Acct 5
Acct 6
COGS Total
Gross Revenue = Net Sales - COGS (or Sales Total + Returns and Allowances Total - COGS Total)
【问题讨论】:
标签: reporting-services ssrs-2008-r2