This documentation page assumes that you already have a SeekTable account. Create your free account by signing up.

Combine several data sources in one report

In some cases you may want to create a report that uses data from several sources. If these datasets cannot be merged on data source level for some reason (with data integration techniques) you still can do that with these built-in SeekTable capabilities:

These capabilities are implemented as special functions of expression-type cube members.

External lookup

To resolve external lookup from another cube create a calculated dimension and use this function:

Cube("cubeId").Lookup(value,"keyDimension","lookupDimension")

where:

cubeId
an identifier of the 'lookup' cube. You can find this ID in the cube's URL.
value
dimension's value variable that need to be resolved via lookup. This dimension should be specified as an argument of the expression.
keyDimension
a name of dimension in the 'lookup' cube that is used as a primary key.
lookupDimension
a name of dimension in the 'lookup' cube that should be returned as a result of lookup.

Configuration example:

Typical usage scenarious:

Technical limitations:

Combine measures

To combine measures that are present in different cubes you can add a calculated measure and use this function:

Cube("cubeId").Measure("measureName", dimMappingDictionary)

where:

cubeId
an identifier of the target cube that contains a measure you want to merge. You can find this ID in the cube's URL.
measureName
a name of the measure in the target cube.
dimMappingDictionary
a mapping between dimension names of source cube and target cube (if they don't match), for example:
{"timestamp_year": "date_year", "timestamp_month", "date_month"}.

This capability allows you to define formulas that involve metrics from different data sources. For example, the report that displays actual sales (or, say, profit per period) can be extended with 'estimated' values that come from the uploaded CSV and then the difference can be calculated.

Technical limitations: