This topic is locked

Summaries by grouping

4/21/2010 12:08:36 PM
PHPRunner General questions
B
battyone author

Hey all:
I have a small sales tracking application that is supposed to generate a few reports. I currently have the following query pulling data for my report:

SELECT

deals.name AS `Client Name`,

`state`.Name AS `State`,

deals.months AS `Program Lenght`,

deals.pull AS `Monthly Enrollment Fee`,

deals.eFee AS `Total Enrollment Fee`,

agents.Name AS `Sales Person`

FROM deals

INNER JOIN agents ON deals.agent = agents.id

INNER JOIN `state` ON deals.`state` = `state`.iD

WHERE

month(deals.adddate) = month(current_DATE)


It outputs all the data that I wish to have visible, I then go and setup Sales Person as my Group Field, interval Normal with a summary. I also have "Show Global Summary" and "Show details and summary" checked. I have it setup to display all the fields, then min/max/sum/avg for deals.pull and deals.eFee. When I run the report it properly shows the GLOBAL sum/min/max/avg but does not show the per-grouping (in this case sales agent). What am I missing or doing wrong here?

Sergey Kornilov admin 4/21/2010

I recommend to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.