KoolReport's Forum

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

Calculated column on Cube Process of SUM column #977

Open Sowmya opened this topic on on Jul 8, 2019 - 1 comments

Sowmya commented on Jul 8, 2019

Hi KoolReport team,

I am KoolReport Pro User. I have small query here....

How to "implement Calculated column in Cube Process of SUM column...."

My Code

 ->pipe(new Cube(array(
            "rows" => "MonthName",
            "column" => "CostCentre",
            "sum"=>"InvValue"
            
        )))
        ->pipe(new CalculatedColumn(array(
			"InvValue"=>"({InvValue}/100000)")))

It throws an Error... Please let me know, how can I implement this Calculted column on Cube Column

Sowmya commented on Jul 8, 2019

Hi KoolReport team,

My issue got solved... I simply used "sum percent"

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
solved

None