Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Report portal values by date

Featured Replies

  • Newbies

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

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?

  • Author
  • Newbies

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.

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.

  • Author
  • Newbies

Fantastic!

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

The report works perfectly.

Kind regards,

Joel

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.