Hi KoolReport team, I am KoolReport Pro User..... I tried CUBE process, But no use. It gives me error message. " My column names are undefined...." Actually my data in the format of
CostCenter MonName MonField MonYear InvValue
Manufacturing April 4 2019 ********
Rental April 4 2019 ********
Service April 4 2019 ********
Spares April 4 2019 *********
Traded April 4 2019 0
Like this I have " May, June" Invoices are there in my Database.... This data I stored in a "view(Ms SQL Server)".
My Code is ::
$this->src('invoice')
->query("select MonName,CostCentre,InvoiceValue
from vw_MonthWiseSalesSummeries
order by MonField,MonName,CostCentre")
->pipe(new Cube(array(
"row" => "MonName",
"column" => "CostCentre",
"sum" => "InvoiceValue"
)))
->pipe($this->dataStore('Quarter_Sales'));
Now I want to generate Koolreport of "Area or Line chart or Bar chart......
Kindly Please give the solution as early as possible. Bacause I'm struggling with this task from last 3days. I have to submit this task. Here I'm only Koolreport user. Please support me.
Thank you so much in advance.....