KoolReport's Forum

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

Cube Process #2509

Closed Ron opened this topic on on Dec 26, 2021 - 1 comments

Ron commented on Dec 26, 2021

I have a cube process that displays a classroom schedule. rows are hours and columns are the days. the value is the teacher name:

->pipe(new Cube(array(
            'row' => 'hour_num',
            'column' => 'day',
            'max' => "teacher_name",
        )))

I want to be able to display to different columns in the value like this:

->pipe(new Cube(array(
            'row' => 'hour_num',
            'column' => 'day',
            'max' => "teacher_name, class_name",
        )))

When I write two columns names in the max parameter it shows always the last one.

Sebastian Morales commented on Dec 27, 2021

We have your case covered with the SuperCube process as documented at the following link:

https://www.koolreport.com/docs/cube/supercube_process/

Let us know if you have any question about SuperCube. Rgds,

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
None yet

None