How to create DetailData Summary
I have Master/Detail report
And here I want to add Summary of DetailData
DetailDataRow1 - Count=2, Sum(DetailDataRow1)
DetailDataRow2 - Count=2, Sum(DetailDataRow2)
DetailDataRow3 - Count=1, Sum(DetailDataRow3)
DetailDataRow4 - Count=1, Sum(DetailDataRow4)
Is it possible to do it automatically? Now, I need to use many variables.
MasterDataRow1
    DetailDataRow1
    DetailDataRow2
    DetailDataRow3
    DetailDataRow4
MasterDataRow2
    DetailDataRow1
    DetailDataRow2
And here I want to add Summary of DetailData
DetailDataRow1 - Count=2, Sum(DetailDataRow1)
DetailDataRow2 - Count=2, Sum(DetailDataRow2)
DetailDataRow3 - Count=1, Sum(DetailDataRow3)
DetailDataRow4 - Count=1, Sum(DetailDataRow4)
Is it possible to do it automatically? Now, I need to use many variables.