KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.

Calculated column on Cube Process of SUM column #977

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

Sowmya commented on Jul 8

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

Hi KoolReport team,

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

KoolReport Is Free and Open-Source!

KoolReport is a professional php reporting framework which saves you tons of time to construct dynamic data report & dashboard.

  • Connect to various datasources such as MySQL, SQL Server, MongoDB or even from CSV or Excel file.
  • Contain series of powerful built-in data processes for your data manipulation.
  • Generate stunning charts and graphs to help you communicate data insights to your audiences effectively.
  • Integrate seamlessly with any php frameworks such as Laravel, CodeIgniter, Symfony.
Download Now and register our tutorials to get started!

Download KoolReport
help needed
solved

None