Skip to content

Error - Linked to non-observations column error

When it occurs

A units or attribute column is linked to an observation value column that isn't actually an observation value column.

For example in the following cube:

Location Median Commute Distance / miles Median commute time / mins Commute Time Notes
Sheffield 2.1 15.3 Excludes individuals teleporting to work.
Aberdeen 13.4 22.9 Includes oil rig workers commuting to offshore platforms.

With the following qube-config.json column mapping configuration:

1
2
3
4
5
6
7
{
  "Commute Time Notes": {
    "type": "attribute",
    "data_type": "string",
    "describes_observations": "Location"
  }
},

In this cube, the Location column represents a dimension and not observed values.

How to fix

Ensure that the linked column is a column containing observed values.

For further guidance, please refer to the shaping your data documentation.