ConsolidatedAvg with several dimensions
Posted: Thu Aug 18, 2016 10:48 pm
Hello everyone! This is my first post and it is perhaps a little silly.
Anyways, I'm trying to use ConsolidatedAvg in a cube that has several dimensions (see the attachment). Among its dimensions, I have month and client. I am at the consolidated level of client and month (year), and in the rest of dimensions I am at leaf level. My rule is like this:
['Total of AlzCliente', 'Total Año', '% Peso'] =
ConsolidatedAvg(2, 'AlzParticipacionCliente', !AlzAnio, 'Total of AlzCliente', !AlzMes, !AlzAlianza, !AlzProveedor, !AlzCanal, '% Peso');
The cube is as follows:
I'm trying to get the average of a measure called %Peso with the value in each month but for some reason it calculates the average of the clients. I am getting a 50 instead of the 100 that I want to get.
Do you have any idea what I might be doing wrong? Thank you for your help.
Anyways, I'm trying to use ConsolidatedAvg in a cube that has several dimensions (see the attachment). Among its dimensions, I have month and client. I am at the consolidated level of client and month (year), and in the rest of dimensions I am at leaf level. My rule is like this:
['Total of AlzCliente', 'Total Año', '% Peso'] =
ConsolidatedAvg(2, 'AlzParticipacionCliente', !AlzAnio, 'Total of AlzCliente', !AlzMes, !AlzAlianza, !AlzProveedor, !AlzCanal, '% Peso');
The cube is as follows:
I'm trying to get the average of a measure called %Peso with the value in each month but for some reason it calculates the average of the clients. I am getting a 50 instead of the 100 that I want to get.
Do you have any idea what I might be doing wrong? Thank you for your help.