I have a problem while aggregating some data that have different criteria on different dimensions. I have found something similar in the forum but nothing that can solve my problem.
Here is the wrong situation that i have at the moment:

While here is the kind of consolidation that i want:

As you can see on the part dimension numbers are actually summing up while i want them to aggregate using average, min or max function since its verified that numbers are always the same on the same article (as you can see).
Then when article is on the level 1 (element SER-FC3) i want the number to sum up the average, min or max previously calculated.
I tried before using CalculatedAvg function using this formula
Code: Select all
[Misure:'QTA_MQ'] = C:ConsolidatedAvg(0,'',!Scelta, !Tempo, 'QTA_MQ', !CdC, !Articolo, !Parte);

Any advice will be greatly appreciated!
Thanks in advance,
Leonardo