--- a/dbee.module
+++ b/dbee.module
@@ -330,8 +330,68 @@
       $users[$uid] = $decrypted_fields;
       $users[$uid]['name'] = $crypted['name'];
     }
+    // Also expose simple (single-value, string type) profile fields, keyed by
+    // their column name, so that Views "Combine fields filter" can search
+    // them together with the encrypted mail field via a CONCAT_WS() clause.
+    // @see \Drupal\dbee\Query::dbFunctionsValue()
+    if (\Drupal::moduleHandler()->moduleExists('profile')) {
+      foreach (_dbee_profile_field_values() as $uid => $field_values) {
+        if (isset($users[$uid])) {
+          $users[$uid] += $field_values;
+        }
+      }
+    }
   }
   return $users;
+}
+
+/**
+ * Collects simple profile field values, keyed by uid and column name.
+ *
+ * Only single-value fields of type "string" are considered, to keep the
+ * lookup unambiguous and cheap. Multi-value or complex field types are
+ * skipped since the "Combine fields filter" only supports simple fields
+ * to begin with.
+ *
+ * @return array
+ *   An array keyed by uid, each value an array keyed by "<field_name>_value"
+ *   with the corresponding profile field value.
+ */
+function _dbee_profile_field_values() {
+  $values = &drupal_static(__FUNCTION__);
+  if (isset($values)) {
+    return $values;
+  }
+  $values = [];
+
+  $entity_field_manager = \Drupal::service('entity_field.manager');
+  $storage = \Drupal::entityTypeManager()->getStorage('profile');
+  $table_mapping = $storage->getTableMapping();
+
+  $string_field_names = [];
+  foreach (\Drupal::entityTypeManager()->getStorage('profile_type')->loadMultiple() as $bundle => $profile_type) {
+    foreach ($entity_field_manager->getFieldDefinitions('profile', $bundle) as $field_name => $definition) {
+      if ($definition->getType() === 'string' && $definition->getFieldStorageDefinition()->getCardinality() === 1) {
+        $string_field_names[$field_name] = $table_mapping->getFieldColumnName($definition->getFieldStorageDefinition(), 'value');
+      }
+    }
+  }
+  if (!$string_field_names) {
+    return $values;
+  }
+
+  foreach ($storage->loadMultiple() as $profile) {
+    $uid = (int) $profile->getOwnerId();
+    if (!$uid) {
+      continue;
+    }
+    foreach ($string_field_names as $field_name => $column_name) {
+      if ($profile->hasField($field_name) && !$profile->get($field_name)->isEmpty()) {
+        $values[$uid][$column_name] = $profile->get($field_name)->value;
+      }
+    }
+  }
+  return $values;
 }
 
 /**
--- a/src/Query.php
+++ b/src/Query.php
@@ -526,7 +526,9 @@
    * @param array $db_funct
    *   The array returned by the dbFunctionsClause() function.
    * @param array $user
-   *   An array of user information. Keys are mail, init, and name.
+   *   An array of user information. Keys always include mail, init, and
+   *   name, and may also include other simple fields (for example, profile
+   *   fields added by _dbee_profile_field_values()) keyed by column name.
    *
    * @return string
    *   The value corresponding to the one that should be returned by the
@@ -542,7 +544,11 @@
         $separator = array_shift($db_funct['field_names']);
         $values = [];
         foreach ($db_funct['field_names'] as $field) {
-          $value = (in_array($field, ['mail', 'init', 'name'])) ? $user[$field] : $field;
+          // Any key actually present in $user (mail/init/name, or another
+          // simple field merged in by _dbee_all_users_uncrypted()) is a real
+          // column value. Anything else is a literal fragment of the
+          // CONCAT_WS() expression (for example, the ' ' separator argument).
+          $value = array_key_exists($field, $user) ? $user[$field] : $field;
           if ($value === NULL) {
             continue;
           }
