AnsweredAssumed Answered

How can I get Reports row count?

Question asked by newbie (^_^) on Jan 15, 2015
Latest reply on Jan 16, 2015 by Steve Cox
Hi All,

How can I get the total rows of the generated reports?
What I want to do is I will calculate the total price of the "Price" field and print it on the last row of the reports "Total Price" field.

I was able to do it on reports module but when I hit on the "Print as PDF" the total price was not able to display.

I use $arguments['reporter']->row_end instead of $arguments['reporter']->total_count because every time i click on "Print as PDF it throws a PHP error" but the $arguments['reporter']->row_end is set to 100;

Is there other way to get the total row when I click on "Print as PDF"?

Please see attachment below 

Outcomes