KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Export PDF with grouping data #2868

Open Ganesh Mane opened this topic on on Nov 8, 2022 - 1 comments

Ganesh Mane commented on Nov 8, 2022

Can we generate pdf reports in grouping data for example:

Sample Data: sr.: 1 Name : Simon Country : India

sr.: 2 Name : Jhon Country : India

sr.: 3 Name : Ramesh Country : US

so, can we generate pdf report like below:

Country name
India Simon

            jhon

Count: 2

Country name
US Ramesh count: 1

Total Count: 3

Sebastian Morales commented on Nov 10, 2022

You could use the Group process like this:

        ...
        ->pipe(new Group(array(
            "by"=>"Country",
            "count"=>"Total Count"
        )))
        ...

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
suggestion

Export