Jump to content
We've recently updated our Privacy Statement, available here ×

Conditional Sums


Recommended Posts

By: ReportMaker - reportmaker

Conditional Sums

2002-07-19 15:50

I have a list of companies that are grouped by city. Each of those companies has a revenue value(basically some dollar amount). After each city group in my list I need to display a sum of the revenue generated by the companies in that particulare city.

 

Ie

 

Calgary Company A $10.000

Calgary CompanyB $ 5.000

 

SubTotal Calgary $15.000

========================

Toronto CompanyC $20.000

Toronto CompanyD $10.000

 

SubTotal Toronto $30.000

 

========================

Total $45.000

 

 

By: Teodor Danciu - teodord

RE: Conditional Sums

2002-07-20 03:40

 

Hi,

 

And what seems to be the problem with this?

Have you looked at the "jasper" sample provided?

 

There we have the "Total Freight" calculated

for each country. You should do the same for

your "revenue" field grouping your records by city.

 

Take a look close at the

"FreightSumCountryGroup" variable

declared in the sample.

 

Good luck!

Teodor

Link to comment
Share on other sites

  • 4 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...