English (Español a continuación)
In the calculation scripts can be included the following commands:
- SET MSG SUMMARY;
- SET MSG DETAIL;
With the command «SET MSG SUMMARY» the log records information about:
- Total number of blocks created
- Calculations in sparse dimensions (number of reads / writes)
- Calculations in dense dimensions (number of reads / writes)
- Calculations in sparse dimensions (number of cells)
- Calculations in dense dimensions (number of cells)
With the command «SET MSG DETAIL» the log records similar information and also:
- Provides information every time a block is created (generating excessively long logs; it can also slow down calculations; it is recommended to use it only in the testing phase).
Let’s see an example: we start from the following outline:

With the following structure:

1st example: We upload the following data:

And we launch the calculation: CALC ALL;
If we consult the log of this calculation, we obtain the following information:

Let’s see the data:
1.- Total Block Created: 106. It is calculated by multiplying the following data corresponding to the sparse dimensions:
- 4 (calculated number of members of the Markets dimension from the loaded level to the top level).
North Spain / Spain / Europe / Markets
- 3 (number of calculated members of the Products dimension from the loaded level to the top level).
Petrol / Cars / Products
- 3 (calculated number of members of the Manufacturers dimension from the loaded level to the top level).
Mercedes / European / Manufacturers
- 3 (calculated number of members of the Vendors dimension from the loaded level to the top level).
John / Team 1 / Vendors
Total number of blocks: 4 * 3 * 3 * 3 = 108 blocks (2 correspond to the load and 106 to the calculation).
2.- Sparse Calculations: 106 W / R. One for each block created in the calculation.
3.- Dense Calculations: 1 W / R. A single data has been uploaded in the dense dimensions Period / Data:
- North Spain / Petrol / Mercedes / John
4.- Sparse Calculations: 4,240. It is calculated by multiplying the number of blocks created in the calculation by the number of member of the dense dimensions:
- Cells: 106 * 10 (number of members of the Period dimension) * 4 (number of members of the Data dimension) = 4,240
5.- Dense Calculations: 26. It is calculated by adding the following data corresponding to the dense dimensions:
- 20 = 2 (number of levels of the Data dimension from the loaded level to the top level) * 10 (number of members of the Period dimension).
- 6 = 3 (number of levels of the Period dimension from the loaded level to the top level) * 2 (number of members of the Data dimension: 4 members – 2 considered in the previous sum).
This sum (26 = 20 + 6) is multiplied by 1 (data from point 3 above).
2nd example: We upload the following data:

And we launch the calculation: CALC ALL;
If we consult the log of this calculation, we obtain the following information:

Let’s see the data:
1.- Total Block Created: 176. It is calculated by multiplying the following data corresponding to the sparse dimensions:
- 4 (calculated number of members of the Markets dimension from the loaded level to the top level).
- 3 (number of calculated members of the Products dimension from the loaded level to the top level).
- 3 (calculated number of members of the Manufacturers dimension from the loaded level to the top level).
- 5 (calculated number of members of the Vendors dimension from the loaded level to the top level: John, Mark, Team1, Team 2, Vendors).
Total number of blocks: 4 * 3 * 3 * 5 = 180 blocks (4 correspond to the load and 176 to the calculation).
2.- Sparse Calculations: 176 W / R. One for each block created in the calculation.
3.- Dense Calculations: 2 W / R. 2 data have been uploaded in the dense dimensions Period / Data:
- North Spain / Petrol / Mercedes / John
- North Spain / Petrol / Mercedes / Mark
4.- Sparse Calculations: 7,040. It is calculated by multiplying the number of blocks created in the calculation by the number of member the dense dimensions:
- Cells: 176 * 10 (number of members of the Period dimension) * 4 (number of members of the Data dimension) = 7,040
5.- Dense Calculations: 52. It is calculated by adding the following data corresponding to the dense dimensions:
- 20 = 2 (number of levels of the Data dimension from the loaded level to the top level) * 10 (number of members of the Period dimension).
- 6 = 3 (number of levels of the Period dimension from the loaded level to the top level) * 2 (number of members of the Data dimension: 4 members – 2 considered in the previous sum).
This sum (26 = 20 + 6) is multiplied by 2 (data from point 3 above).
3rd example: We upload the following data:

And we launch the calculation: CALC ALL;
If we consult the log of this calculation, we obtain the following information:

Let’s see the data:
1.- Total Block Created: 258. It is calculated by multiplying the following data corresponding to the sparse dimensions:
- 4 (calculated number of members of the Markets dimension from the loaded level to the top level).
- 3 (number of calculated members of the Products dimension from the loaded level to the top level).
- 22 (number of interactions between uploaded members of the Manufacturers dimension and uploaded members of the Vendors dimension).

Total number of blocks: 4 * 3 * 22 = 264 blocks (6 correspond to the load and 258 to the calculation).
2.- Sparse Calculations: 258 W / R. One for each block created in the calculation.
3.- Dense Calculations: 3 W / R. 3 data have been uploaded in the dense dimensions Period / Data:
- North Spain / Petrol / Mercedes / John
- North Spain / Petrol / Peugeot / Peter
- North Spain / Petrol / General Motors / Mark
4.- Sparse Calculations: 10,320. It is calculated by multiplying the number of blocks created in the calculation by the member number of the dense dimensions:
- Cells: 258 * 10 (number of members of the Period dimension) * 4 (number of members of the Data dimension) = 7,040
5.- Dense Calculations: 78. It is calculated by adding the following data corresponding to the dense dimensions:
- 20 = 2 (number of levels of the Data dimension from the loaded level to the top level) * 10 (number of members of the Period dimension).
- 6 = 3 (number of levels of the Period dimension from the loaded level to the top level) * 2 (number of members of the Data dimension: 4 members – 2 considered in the previous sum).
This sum (26 = 20 + 6) is multiplied by 3 (data from point 3 above).
Español
En los scripts de cálculos se pueden incluir los siguientes comandos:
- SET MSG SUMMARY;
- SET MSG DETAIL;
Con el comando “SET MSG SUMMARY” el log registra información sobre:
- Número total de bloques creados
- Cálculos en dimensiones dispersas (número de lecturas / escrituras)
- Cálculos en dimensiones densas (número de lecturas / escrituras)
- Cálculos en dimensiones dispersas (número de celdas)
- Cálculos en dimensiones densas (número de celdas)
Con el comando “SET MSG DETAIL” el log registra una información similar y además:
- Facilita información cada vez que un bloque es creado (generando unos logs excesivamente extensos; además puede ralentizar los cálculos; se recomienda utilizarlo únicamente en fase de pruebas).
Veamos un ejemplo: partimos del siguiente outline:

Con la siguiente estructura:

1er ejemplo: Subimos el siguiente dato:

Y lanzamos el cálculo: CALC ALL;
Si consultamos el log de este cálculo obtenemos la siguiente información:

Veamos los datos:
1.- Total Block Created: 106. Se calcula multiplicando los siguientes datos correspondientes a las dimensiones dispersas:
- 4 (número de miembros calculados de la dimensión Markets desde el nivel cargado hasta el nivel superior).
North Spain / Spain / Europe / Markets
- 3 (número de miembros calculados de la dimensión Products desde el nivel cargado hasta el nivel superior).
Petrol / Cars / Products
- 3 (número de miembros calculados de la dimensión Manufacturers desde el nivel cargado hasta el nivel superior).
Mercedes / European / Manufacturers
- 3 (número de miembros calculados de la dimensión Vendors desde el nivel cargado hasta el nivel superior).
John / Team 1 / Vendors
Nº total de bloques: 4 * 3 * 3 * 3 = 108 blocks (2 corresponden a la carga y 106 al cálculo).
2.- Sparse Calculations: 106 W / R. Uno por cada bloque creado en el cálculo.
3.- Dense Calculations: 1 W / R. Se ha subido un solo dato en las dimensiones densas Period / Data:
- North Spain / Petrol / Mercedes / John
4.- Sparse Calculations: 4.240. Se calcula multiplicando el número de bloques creados en el cálculo por el número de miembro de las dimensiones densas:
- Cells: 106 * 10 (Nº miembros dimensión Period) * 4 (Nº miembros dimensión Data) = 4.240
5.- Dense Calculations: 26. Se calcula sumando los siguientes datos correspondientes a las dimensiones densas:
- 20 = 2 (número de niveles de la dimensión Data desde el nivel cargado hasta el nivel superior) * 10 (número de miembros de la dimensión Period).
- 6 = 3 (número de niveles de la dimensión Period desde el nivel cargado hasta el nivel superior) * 2 (número de miembros de la dimensión Data: 4 miembros – 2 considerados en la suma anterior).
Esta suma (26 = 20 + 6) se multiplica por 1 (dato del punto 3 anterior).
2do ejemplo: Subimos el siguiente dato:

Y lanzamos el cálculo: CALC ALL;
Si consultamos el log de este cálculo obtenemos la siguiente información:

Veamos los datos:
1.- Total Block Created: 176. Se calcula multiplicando los siguientes datos correspondientes a las dimensiones dispersas:
- 4 (número de miembros calculados de la dimensión Markets desde el nivel cargado hasta el nivel superior).
- 3 (número de miembros calculados de la dimensión Products desde el nivel cargado hasta el nivel superior).
- 3 (número de miembros calculados de la dimensión Manufacturers desde el nivel cargado hasta el nivel superior).
- 5 (número de miembros calculados de la dimensión Vendors desde el nivel cargado hasta el nivel superior: John, Mark, Team1, Team 2, Vendors).
Nº total de bloques: 4 * 3 * 3 * 5 = 180 blocks (4 corresponden a la carga y 176 al cálculo).
2.- Sparse Calculations: 176 W / R. Uno por cada bloque creado en el cálculo.
3.- Dense Calculations: 2 W / R. Se han subido 2 datos en las dimensiones densas Period / Data:
- North Spain / Petrol / Mercedes / John
- North Spain / Petrol / Mercedes / Mark
4.- Sparse Calculations: 7.040. Se calcula multiplicando el número de bloques creados en el cálculo por el número de miembro de las dimensiones densas:
- Cells: 176 * 10 (Nº miembros dimensión Periodo) * 4 (Nº miembros dimensión Data) = 7.040
5.- Dense Calculations: 52. Se calcula sumando los siguientes datos correspondientes a las dimensiones densas:
- 20 = 2 (número de niveles de la dimensión Data desde el nivel cargado hasta el nivel superior) * 10 (número de miembros de la dimensión Period).
- 6 = 3 (número de niveles de la dimensión Period desde el nivel cargado hasta el nivel superior) * 2 (número de miembros de la dimensión Data: 4 miembros – 2 considerados en la suma anterior).
Esta suma (26 = 20 + 6) se multiplica por 2 (dato del punto 3 anterior).
3er ejemplo: Subimos el siguiente dato:

Y lanzamos el cálculo: CALC ALL;
Si consultamos el log de este cálculo obtenemos la siguiente información:

Veamos los datos:
1.- Total Block Created: 258. Se calcula multiplicando los siguientes datos correspondientes a las dimensiones dispersas:
- 4 (número de miembros calculados de la dimensión Markets desde el nivel cargado hasta el nivel superior).
- 3 (número de miembros calculados de la dimensión Products desde el nivel cargado hasta el nivel superior).
- 22 (número de interacciones entre los miembros cargados de la dimensión Manufacturers y los miembros cargados de la dimensión Vendors).

Nº total de bloques: 4 * 3 * 22 = 264 blocks (6 corresponden a la carga y 258 al cálculo).
2.- Sparse Calculations: 258 W / R. Uno por cada bloque creado en el cálculo.
3.- Dense Calculations: 3 W / R. Se han subido 3 datos en las dimensiones densas Period / Data:
- North Spain / Petrol / Mercedes / John
- North Spain / Petrol / Peugeot / Peter
- North Spain / Petrol / General Motors / Mark
4.- Sparse Calculations: 10.320. Se calcula multiplicando el número de bloques creados en el cálculo por el número de miembro de las dimensiones densas:
- Cells: 258 * 10 (Nº miembros dimensión Periodo) * 4 (Nº miembros dimensión Data) = 7.040
5.- Dense Calculations: 78. Se calcula sumando los siguientes datos correspondientes a las dimensiones densas:
- 20 = 2 (número de niveles de la dimensión Data desde el nivel cargado hasta el nivel superior) * 10 (número de miembros de la dimensión Period).
- 6 = 3 (número de niveles de la dimensión Period desde el nivel cargado hasta el nivel superior) * 2 (número de miembros de la dimensión Data: 4 miembros – 2 considerados en la suma anterior).
Esta suma (26 = 20 + 6) se multiplica por 3 (dato del punto 3 anterior.