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.

Featured Replies

I have a dashboard in my school Information Management database. I have used the technique of single portal rows to display Aggregate data such as how many total classes there are during the week and a differnt portal (& table) to display how many students attend classes (Some once a week, some twice).

Ok, so far so good, 36 classes, 193 class attendees. How on earth's name can I create a calculation that shows me the average no. of students per class. (5.36) because as soon as I take this summary aggregate field out of the portal it displays just a single records data?

Mmmm, I'm a bit lost here.

Thanks in advance for all your help.

Can you elaborate on "the technique of single portal rows to display Aggregate data"? Is this portal filtered?

  • Author

Yes, the portal is filtered. Thus, I have a summary field in the original table that displays the right count for the filtered data whilst it is within the portal on this table.

Thanks so much

Well, the thing is that filtered portals work on the layout level. Usually, you want your calculations to work on the data level, so that they keep on working independently of what is (or isn't) on a specific layout.

If you don't want to do the filtering by relationships, you need to make your calculation look at what's happening on the layout - instead of at the actual data. This is where the GetLayoutObjectAttribute() function comes in: give the summary field instance on the layout an object name, and retrieve the filtered aggregate value by =

GetLayoutObjectAttribute ( "YourObjectName" ; "content" )

Note, however, that the result of the calculation is available only while you are on the layout containing the object. If you need it anywhere else, you should move the entire thing (starting with filtering) to the data layer.

Edited by comment

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.