Record summary based on subform

Record summary based on subform

Hello,

I would be really thankful if anyone would be able to help me with the following issue.

So i am trying to build an invoice creating app which would use data from subform and would result in record summary such as this  https://www.zoho.com/creator/help/views/record-summary.html

Each time i try to create a record summary, it displays every item separately on different page. How can i create a table out of a subform with subtotals and totals that would appear in record summary?

Thanks