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

Evaluate content of several fields to determine if unique/duplicate data is in other fields.

Featured Replies

Hi,

I'm not sure if this is the right forum to post this question so if it needs to be re-directed please let me know the right place.

I have a database with 20 fields that contain "color" Information. They look like this basically:

# Color

1. White

2. Blue

3. white

4. green

5. yellow

6. white

7. green

8. brown

9. white

10. orange

11. and so on, etc.....

What I am wondering is if there is a way to evaluate these fields and performa a calculation to determine how many "UNIQUE" colors are represented. In the example above the result I am looking for would be 6 because the White is repeated 4 times and the Green is repeated twice. The Unique colors equal:

White

blue

green

yellow

brown

orange

I don't have a clue how to extract this information and it is important to know for the project I am working on where I must try and evaluate for this information across several thousand records.

Any help would be appreciated.

Thank you,

Steve

PS I'm pretty sure I've never asked this one before!

You can use filterValues() to eliminate duplicate values.

To use it:

  - Create a valuelist or global field with all unique colors, one per line.

  - Append all the fields togather into one piece of text, newline seperated (¶) so they are also one per line.

Call:

  FilterValues( uniqueList; duplicateList ) to obtain a list of unique color values, then use ValueCount() to count it.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.