Returns mdx as a string to use in the function tm1_get_mdx_view
tm1_create_mdx(cube,
rowdim1, rowsub1, rowel1,
rowdim2, rowsub2, rowel2,
rowdim3, rowsub3, rowel3,
coldim1, colsub1, colel1,
coldim2, colsub2, colel2,
titledim1, titleel1,
titledim2, titleel2,
titledim3, titleel3,
titledim4, titleel4,
titledim5, titleel5,
titledim6, titleel6,
titledim7, titleel7,
titledim8, titleel8,
titledim9, titleel9,
titledim10, titleel10,
rowsuppress, colsuppress )
Name of the cube
Name of dimension in 1st row
Subset of dimension in 1st row
Element of dimension in 1st row. If multiple, seperated by "|". This should be passed if subset is not provided
Name of dimension in 2nd row
Subset of dimension in 2nd row
Element of dimension in 2nd row. If multiple, seperated by "|". This should be passed if subset is not provided
Name of dimension in 3rd row
Subset of dimension in 3rd row
Element of dimension in 3rd row. If multiple, seperated by "|". This should be passed if subset is not provided
Name of dimension in 1st col
Subset of dimension in 1st col
Element of dimension in 1st col. If multiple, seperated by "|". This should be passed if subset is not provided
Name of dimension in 2nd col
Subset of dimension in 2nd col
Element of dimension in 2nd col. If multiple, seperated by "|". This should be passed if subset is not provided
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
Name of dimension in title
Element of dimension in corresponding titledim
TRUE if zeroes are suppressed on rows
TRUE if zeroes are suppressed on columns
# NOT RUN {
tm1_create_mdx( "SalesCube", rowdim1="account1", rowel1 = "Sales", coldim1="month", colel1="Jan",
titledim1 = "actvsbud", titleel1 = "Actual",
titledim2 = "region", titleel2 = "Argentina",
titledim3 = "model", titleel3 = "S Series 1.8 L Sedan",
rowsuppress=TRUE, colsuppress = FALSE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab