CREATE A PARTITION / CREAR UNA PARTICIÓN

English (Español a continuación)

Clicking on the «+» sign to the left of the database, a options tree is displayed that includes «Partitions».

Right-clicking on “Partitions” opens a window with the option “Create a new partition”. Clicking on it opens a «Create partition» window with different menus:

1.- Type: allows us to select the type of partition: «Replicated», «Linked» or «Transparent».

2.- Connection: we select the source database (origin of the data) and the target database (destination of the data).

  • A username and password must be used to establish the connection, and they must be identical on both bases.

3.- Areas: we select the sections of the two databases to connect:

Origin base:

  • Double-clicking on the blank box under «Origin» opens a window that shows all the dimensions of the source database and where we can display the members.
  • We can pass the entire dimension or select specific members.
  • Right clicking on the dimension / specific member opens a window with different options: «Add», «Add all children», «Add all descendants and the member» …
  • At the bottom of the window we have the option that instead of the name of the members (default option) we can select by levels or by generations.
  • It is not mandatory to select members of all dimensions: there may be dimensions we do not select.
  • The selected members move to the window on the right.
  • The order in which the members of the different dimensions are selected can be different in the source database and in the target database, and does not affect the validity of the partition.
  • Another option is to import a file (for example, a text file) in which we have the partition area defined.
  • Once the selection is finished, click on «Accept».

Target base:

  • It works exactly in the same way.

This menu also shows a button «Show cell count» that tells us how many cells this partition includes from the source database and from the target database.

4.- Assignments: this window allows to do the mapping between the two databases: if the two databases have different dimensions, or the dimensions or members have different names, it is necessary to tell Essbase how the dimensions / members of the source database and target database are related.

  • For example: if in the source database there is a dimension called «Countries» with the different markets, and in the target database this dimension is called «Regions», this window allows us to tell Essbase that these two dimensions are related.

This mapping is done one by one: line by line the dimension / member of the source database is associated with its corresponding dimension / member of the target database.

  • In the blank window under “Members of origin” we select “Countries” and in the blank window under “Target members” we select “Regions”.

If there is a dimension in one of the database that is not in the other, in the associations we must select this dimension in the database in which it is and in the other database leave (void).

5.- Validation: after defining the areas and including the possible necessary assignments, we will click on “Validate”.

In the «Validation» window we will see different warnings about the validity or not of the partition made.

  • Message about the invalid partition may appear (for example, due to different number of cells in the areas of the two databases) but, in some cases the partition works.
    • For example: if the source database has the dimension «Countries» with 5 members and the target database has this dimension with 7 members and only 2 are coincident, if all the members of both databases have been selected in the partition, when validating it will appear a warning that the number of cells in the partition does not match but the partition will work for matching members.
    • For example, if there is a dimension in one database and not in the other, and we map it correctly, a warning will appear indicating that the partition is not valid due to the difference in the number of cells but the partition will work correctly.

6.- Save: finally, click on «Save» at the bottom of the window.

  • You can save the partition with warnings: this warning can refer to specific members (the partition will work for the rest of the members) or it can be general (the partition will not work: when doing a query in Excel, an error message will appear indicating that the partition is not correct).
    • For example, if in one database there is a dimension that is not in the other and is not mapped, when validating a warning will appear that the partition is not valid although it can be saved, but when executing the query in Excel will show an error message.

Partition changes

If we later want to make changes to an already created partition, we right-click on the corresponding partition and select «Edit partition».

Changes we can make:

  • If the outline changes move in the same direction as the data or in the opposite direction.
  • Partition areas.
  • Assignments.

Changes we cannot make:

  • Change the existing partition type.
  • Change the source database or the target database.

After making the changes, the partition must be validated and saved.

Export / Import a partition

  • By right-clicking on a partition we can export it and save it.
  • Likewise, by right-clicking on «Partitions» we can import a partition we have previously exported. We validate and save.

Español

Al hacer click sobre el signo “+” que hay a la izquierda de la base de datos se despliega un árbol de opciones que incluye “Particiones”.

Haciendo click con el botón derecho sobre “Particiones” se abre una ventana que incluye la opción “Crear nueva partición”. Al hacer click se abre una ventana “Crear partición“ con diferentes menús:

1.- Tipo: nos permite seleccionar si la partición va a ser “Replicada”, “Enlazada” o “Transparente”.

2.- Conexión: seleccionamos cuál va a ser la base de datos origen (procedencia de los datos) y cuál va a ser la base de datos objetivo (destino de los datos).

  • Hay que utilizar un nombre de usuario y una clave para establecer la conexión, y deben ser idénticos en las dos bases.

3.- Áreas: seleccionamos las secciones de las dos bases que vamos a conectar:

Base origen:

  • Haciendo doble click sobre la casilla en blanco que hay debajo de “Origen” se abre una ventana que muestra todas las dimensiones de la base origen y donde podemos ir navegando, desplegando los miembros.
  • Podemos pasar toda la dimensión o ir seleccionando miembros dentro de ellas.
  • Haciendo click con el botón derecho sobre un miembro determinado de la dimensión se abre una ventana con diferentes opciones: “Agregar”, “Agregar todos los secundarios”, “Agregar todos los descendientes y el miembro”…
  • En la parte inferior de la ventana tenemos la opción de que en lugar del nombre de los miembros (opción por defecto) podamos seleccionar por niveles o por generaciones.
  • No es obligatorio seleccionar miembros de todas las dimensiones, es decir, puede haber dimensiones que no seleccionemos.
  • Los miembros seleccionados van pasando a la ventana de la derecha.
  • El orden en el que se seleccionan los miembros de las distintas dimensiones puede ser distinto en la base origen y en la base objetivo, y no afecta a la validez de la partición.
  • Otra opción es importar un fichero (por ejemplo, un fichero de texto) en el que tengamos definida el área de la partición.
  • Una vez terminada la selección hacemos click en “Aceptar”.

Base objetivo:

  • Funciona exactamente igual que la anterior: vamos seleccionando y finalmente hacemos click en “Aceptar”.

Este menú también muestra un botón “Mostrar recuento de celdas” que nos indica en esta partición cuantas celdas incluye de la base origen y cuantas de la base objetivo.

4.- Asignaciones: esta ventana nos permite realizar el mapeo entre las dos bases:  si las dos bases tienen distintas dimensiones, o las dimensiones o sus miembros tienen distintos nombres, hay que indicarle a Essbase como se relacionan las dimensiones / miembros de la base origen con los de la base objetivo.

  • Por ejemplo: si en la base origen hay una dimensión denominada “Países” que recoge los diferentes mercados, y en la base objetivo esta dimensión se denomina “Regiones”, esta ventana nos permite indicarle a Essbase que estas dos dimensiones están relacionadas.

Este mapeo se va haciendo uno a uno: línea a línea se va asociando la dimensión / el miembro de la base origen con su correspondiente dimensión / miembro de la base objetivo.

  • En la ventana en blanco que hay debajo de “Miembros de origen” seleccionamos “Países” y en la ventana en blanco que hay debajo de “Miembros objetivo” seleccionamos “Regiones”.

Si hay una dimensión en una de las bases que no está en la otra, en las asociaciones deberemos seleccionar esta dimensión en la base en la que esté y en la otra base dejarla vacía.

5.- Validación: después de definir las áreas e incluir las posibles asignaciones necesarias, haremos click en “Validar”.

En la ventana de “Validación” nos aparecerán diferentes advertencias sobre la validez o no de la partición realizada.

  • Pueden aparecer mensaje sobre la no validez de la partición (por ejemplo, por diferente número de celdas en las áreas de las dos bases) pero que la partición funcione.
    • Por ejemplo: si la base origen tiene la dimensión “Países” con 5 miembros y la base objetivo tiene esta dimensión con 7 miembros y sólo 2 son coincidentes, si en la partición se han seleccionado todos los miembros de ambas bases, al validar aparecerá una advertencia de que el número de celdas de la partición no coincide pero la partición funcionará para los miembros coincidentes.
    • Por ejemplo, si hay una dimensión en una base y no en la otra, y la hemos mapeado correctamente, aparecerá una advertencia indicando que la partición no es válida por diferencia en el número de celdas pero la partición funcionará correctamente.

6.- Guardar: por último se hace click en el botón “Guardar” que está en la parte inferior de la ventana.

  • Se puede guardar la partición con advertencias: esta advertencia puede referirse a miembros concretos (la partición funcionará para el resto de miembros) o puede ser general (la partición no funcionará: al hacer una consulta por Excel aparecerá un mensaje de error indicando que la partición no es correcta).
    • Por ejemplo, si en una de las bases hay una dimensión que no está en la otra (y no está mapeada), al validar aparecerá una advertencia de que la partición no es válida aunque se podrá guardar, pero al ejecutar la consulta en Excel dará un mensaje de error.

Cambios en la partición

Si queremos posteriormente hacer algún cambio en una partición ya creada hacemos click con el botón derecho sobre la partición correspondiente y seleccionamos “Editar partición”. Cambios que podemos realizar:

  • Si los cambios del outline van en la misma dirección que los datos o en la contraria.
  • Áreas de la partición.
  • Asignaciones.

Lo que no podemos hacer es:

  • Cambiar el tipo de partición existente.
  • Base de origen y base destino.

Tras realizar los cambios en la partición, para que se aplique hay que validar y guardar la partición.

Exportar / Importar una partición

  • Haciendo click con el botón derecho sobre una partición podemos exportarla y guardarla en un recurso.
  • Asimismo, haciendo click con el botón derecho sobre “Particiones” podemos importar una partición que previamente hemos exportado. Validamos y guardamos.

Anuncio publicitario