Hi,
I have data displayed in a matrix:
(I removed sensitive first column, but there is a first column with product names)
Here is the definition of the matrix:
What I want to do is that every column percentage sums 100% at the bottom, My tries always gives as the percentage of the whole data.
My variable definition is as follows:
% Bat Presencia = var paso1= CALCULATE(SUM('BATERÍAS'[Veces]),ALLSELECTED()) return sum('BATERÍAS'[Veces])/paso1
This works nice when there is one column.
Help is greatly appreciated.