# I want different section of same datasource in AX report.

I have a requirement to Add different sections in the report. these sections have the same datasource. the first section displays the detail of the records, the second section is grouped by some field. i tried to add two sections. but whats happening is that, the records are displayed as,

record in section group 1,

record in section group 2.

i want to first complete all records of section group 1. and then start the section group 2.

How can i achieve this.