SSRS Sum in table group

℡╲_俬逩灬. 提交于 2019-11-29 10:52:57

Right Click on the details cell and select add Total, then right click on the entire details rows and change it's visibility to Hide. This should do the trick!

EDIT

Setp by step tutorial with Image:

First image example: on the left the result you want, on the right the result you get from a simple grouping.
I'm getting the sum(but you could use a count or whatever aggregation you want) of the field lam_larghezza (which, for your information, is a width) group by different lam_spessore values (which, is a thickness)

I'm sorry but mi IDE is in Italian so here a simple translation:

Aggiungi -> Add
Gruppo -> Group
Righe -> Rows
Raggruppa per -> Group By
Totale -> Total
Dividi Celle -> Split Cell
Visibilità Righe -> Row visibility

Let's start!

Create the dataset for the report and clean the report

Add a table to the report

Add the detail field in the data row

Right click on the full row
Add group -> Row group -> father group -> group by grouping field (should be age)

Click on the detail cell (only the cell not the entire row, and remember that the cell had to be highlighted not the text inside the cell, because two different contex menu appear) -> Add Total

You now have 1 grouping cell and two detail cell

split the grouping field cell

set the visibility of the detail row to hidden

And you are done!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!