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.

Relationship based on unstored calculation?

Featured Replies

Hi All,

I have 3 fields ...name, department, score

Name A, Computer, 100

Name B , Science, 90

Name C , Computer, 20

Department is an unstored calculation, how many department in the file, I could get the average of score of that department. In this example, it produces 2 department with Computer and Science. But the problem is deartment is an unstored calculation, is there a way to achieve this???

Thanks

Anh Tran

there are several ways to make [a copy of] an unstored field an indexed one. Or you could do a scripted find.

a) copy-of-field= Getfield("field")

: a 1:1 relation based on uniqueID

copy-of-field: autoenter lookup [self|unique::field]

but I'd rather check whether department can be made stored (via a lookup, for ex.)... departments don't change that often.

  • Author

Oh...if department is an stored field then I use the relationship department:department :

but how can it know how many department in that finding to sort out??? we use script find and enter Preview mode right?

Thanks

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.