Cube Data Sources (2024)

Feature

Status for Cube Data Sources

Actions With Microsoft Analysis Services connections, drill-down actions defined in the cube are not available in Tableau.

Cube data sources do not accept actions from relational or other cube data sources.

For example, suppose you have a workbook with a view that uses a MySQL data source, a second view that uses cube data source A, and a third view that uses cube data source B. Actions in the view using the MySQL data source won't affect the views using the cube data sources, and actions in the view for one cube data source won’t affect the other. But actions in the views using the cube data sources will affect the view using the MySQL data source.

Advanced analytics features Level of detail expressions, trend lines, forecasting, and clustering are not supported for cube data sources. Aggregate calculation functions Cube data sources are pre-aggregated and thus do not support aggregation functions, such as SUM(), AVG(), and CNT().

It may be possible to use Table Calculations to perform aggregation operations on the cell-level results from the cube in Tableau.

Aliases Aliases for cube databases are created by the cube's designer and can be activated in Tableau by selecting the data source from the Data menu and then choosing Alias File. Talk to your database administrator to find out whether your databasehas aliases available. Aliases are not supported by Microsoft AnalysisServices databases.

By default, the alias for every member of every dimension is initiallydefined to be the original member name.

Bins For cube data sources, the Create Bin command is not available for measures.

You can, however, write a calculation that takes cube cell results and bins them. For example:

str((INT([Internet Sales Amount]/1000)) * 1000)

Cube KPI data type When connected to Microsoft Analysis Services, any KPI calculations defined in the cube are not available.

However, you can write your own KPI calculations in Tableau. You can also use Tableau parameters to create highly flexible what-if KPI analysis. For more information, see Visualize Key Progress Indicators.

Cube lag functions For cube data sources, you cannot use cube lag functions in the Tableau calculation editor. You can use Tableau Table Calculations to calculate certain percentages and totals instead. For more information, see Transform Values with Table Calculations.

Alternatively, you can use an MDX Lag function directly in Tableau using a calculated member. For example:

Avg( { [Date].[Calendar].CurrentMember.Lag(4) : [Date].[Calendar].CurrentMember }, [Measures].[Internet Sales Amount])

Custom multidimensional expression (MDX)statements When connected to a cube, you cannot make a connection to a custom MDX statement. All sub-cube definitions need to be created on the server by implementing necessary cube perspectives, partitions, dimensions, or cell security. Data blending Cube data sources can only be used as the primary data source for blending data in Tableau. They cannot be used as secondary data sources. For details, see Troubleshoot Data Blending. Date dimensions For cube data sources, date dimensions are typically organized into hierarchies that contain levels such as year, quarter, and month. In addition, some multidimensional data sources have time intelligence enabled, which makes it possible to look at data levels different ways, such as Months by Year, Months by Quarter, Weekends, etc. These levels are represented as attributes of the hierarchy. For details, see Dates and Times. Data source filters Data source filters are not available for cube data sources. All field values must be defined in the cube prior to analysis in Tableau. Extracts You cannot create extracts from most cube data sources. Cube and relational data sources have incompatible data structures, which makes extracting data from a cube and storing it in a relational data source, such as the data engine, impossible in most cases.

Starting in 10.4, you can create SAP BW extracts without the need for a special product key from Tableau. For information about support for and limitations of SAPBWextracts, see SAP NetWeaver Business Warehouse.

Filters When you display a filter for a cube dimension, all levels of the hierarchy for that dimension are included in the filter. For example:

Cube Data Sources (1)

You can use cube attributes as filters, to show just a single level instead of a hierarchy. In the Data pane, attributes appear in the Dimensions section and are indicated by this icon: Cube Data Sources (2)

Slicing filters behave differently with a cube data source than with a relational data source. See Create Slicing Filters for details.

Some dimension filter card options are not available. For example, single value (drop-down), multiple values (custom list), etc. Instead, dimensional filters shown in the view retain their hierarchical look and feel, and cannot be changed into specific list types. You can create a Tableau set containing certain values from the hierarchy and then use the set as a filter in the view with the expected filter options (right-click the set in the Data pane, and then click Show Filter).

Groups You cannot create groups when working with a cube data source. Any concept of groupings should be pre-defined in the cube as dimensional attributes or cube sets.

However, you can write multidimensional expressions (MDX) directly in Tableau using a calculated member to create a group. For example:

[Customer].[Customer Geography].[France] + [Customer].[Customer Geography].[Germany]

Hierarchies For cube data sources, hierarchies must be defined in the cube prior to analysis. Parameters For cube data sources, you cannot use parameter values to filter dimensions in an MDX calculation. Publishing Workbooks using cube data source can be published to Tableau Server, but do not support pass-through connections. This means that you cannot make a connection from Tableau Server using such a data source. It also means you cannot create a workbook using the data source in Tableau Server. For details, see Cube Data Sources(Link opens in a new window) in the Tableau Server help.

Publishing a cube data source to Tableau Server gives you the ability to store the data source on the server. However, to use the data source, you must download the data source to Tableau Desktop and use it locally.

Workbooks that use cube data source cannot be published to Tableau Cloud.

Sets Cube data sources support hierarchical sets, which filter data to the selected members and all of their descendants. For details, see Examples of sets. Tableau string functions

With cube data sources, dimensions are not available in the calculation editor.

However, you can write MDX inside Tableau using a calculated member to manipulate dimensional values. For example:

LEFT([Product].[Product Categories].DataMember.MemberValue,LEN([Product].[Product Categories].DataMember.MemberValue)-5)

Type conversions For cube data sources, some type conversion functions are not available in the calculation editor. As a rule, data type conversions should be defined in the cube prior to analysis.

In particular, changing the data type of a cube dimension to a date in Tableau sometimes gives incorrect information. This feature is supported for some cube dimensions, depending on how the dates are formatted in the cube.

You can write Multidimensional Expressions (MDX) directly in Tableau using a calculated member to change the data type of a cube dimension to a date. For example:

CDATE([Date].[Date].CurrentMember.MemberValue)

Cube Data Sources (2024)
Top Articles
Latest Posts
Article information

Author: Laurine Ryan

Last Updated:

Views: 6202

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.