diff --git a/caravel/models.py b/caravel/models.py index 49f5584d173c..099784e8eeb8 100644 --- a/caravel/models.py +++ b/caravel/models.py @@ -1069,7 +1069,7 @@ def recursive_get_fields(_conf): field_names = [] for _f in _fields: _type = _f.get('type') - if _type == 'fieldAccess': + if _type in ['fieldAccess', 'hyperUniqueCardinality']: field_names.append(_f.get('fieldName')) elif _type == 'arithmetic': field_names += recursive_get_fields(_f)