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.

Charting Related Records and Grouping

Featured Replies

Buggered if I know how to do this or even if you can. I've been trying to sort it out for 2 days now.

I have a global table with a global start and finish date. I've created a relationship with another table (shiftsGraph) where the records from shiftsGraph are restricted to between the global dates, obviously.

What I'm trying to do is have a chart summarise the total hours for each day between the global dates. So the actual data looks like this:

Monday 10.5 hours

Tuesday 40 hours

Wednesday 2 hours

etc

I have a summary field the calculates the total hours and I dayName field but all I can graph using the related table option is a record for each one of those shifts that fall between the global dates. So instead of showing say 2 totals for a 2 day period I'll maybe get 9 since there are 9 shifts that fall within the 2 day period.

If I base the table on a found set, run a find, and sort the records, they're all grouped nicely like they should. Does this mean using the related record method can't group the records?

The only reason I decided to use the related record method is the speed of changing the global dates. Otherwise I would have to use the dates in a find script which seems slow.

Any ideas/workarounds/ or the like?

Thanks all

This is not really a charting question. You cannot chart data that cannot be accessed and displayed as such. Sub-summarizing a portal, though possible, is far from being simple or fast. OTOH, there is no reason why a find (using the same global fields for entry) shouldn't be instant.

  • Author

This is not really a charting question. You cannot chart data that cannot be accessed and displayed as such. Sub-summarizing a portal, though possible, is far from being simple or fast. OTOH, there is no reason why a find (using the same global fields for entry) shouldn't be instant.

I've heard you reply a few times to others on "charting issues" that it's not in fact a charting issue. I did think about that but thought I could display the required information. Turns out I can't!

It slipped my mind regarding how filtered relationships work in regards to displaying them in a portal.

I've spent too much time on this so I'll have a look at going down the find route. This I know I can do :) Hence why it was my backup plan. It'll just take a little more planning.

Thanks mate. As always, your knowledge has helped my over-complicating brain simplify :)

Create an account or sign in to comment

Important Information

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

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.