Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Report portal values by date


This topic is 5355 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted (edited)

Hello,

I'm a beginner user having a problem with calculating data in a portal based on a date field.

The items I am working with are:

Invoice (the portal table name)

Payment Date (Date field)

Payment Amount (Number field)

I'm a guitar teacher and I would like to create a report that displays income sorted by year and then month.

71246255.jpg

I am sure this is very rudimentary, but the other answers out there seem to involve more complex operations. Any help or direction would be really appreciated.

Kind regards,

Joel

Edited by Guest
Posted

Wouldn't sorting by the payment date do essentially the same thing? You can sort the portal under the portal options.

Did you make sure that your Payment Date field in indeed a date field?

  • Newbies
Posted

Hi John,

Thanks for your response. What I'm looking to do is generate a report on a separate layout. Some additional information I realise I left out from my original post is that the report would need to calculate across all the records (not just one student).

For example:

2010

-January

--$500

-February

--$600

etc.

Posted

Your report should be based on a layout of the payment table.

Create two calculations called cMonth which has the formula of:

cMonth (date result ) = Payment Date - Day ( Payment Date ) + 1

and

cYear (number result ) = Year ( cMonth )

Make the break field for your subsummary parts be the cYear first and then cMonth second.

On your subsummary part for cMonth, you can format the field to only show the Month name.

  • Newbies
Posted

Fantastic!

Thanks so much for your help. I really learned a lot here.

The report works perfectly.

Kind regards,

Joel

This topic is 5355 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.