Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Friends,
Your helps are always appreciated!
I have a pivot table in which I need a row wise average as like below,
id | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | |
MGR2 | MGR3 | MGR4 | MGR5 | MGR6 | MGR7 | MGR8 | MGR9 | Average | |
Leadership | |||||||||
A | 5 | 5 | 6 | 1 | NA | 2 | 7 | 4.3 | |
B | 3 | 4 | 6 | 2 | 7 | 4 | 6 | 4.6 | |
C | 4 | 5 | 4 | 5 | 7 | 3 | 3 | 4.4 | |
D | 4 | 6 | 6 | 2 | 6 | 4 | 4 | 4.6 |
Kindly share your ideas
Thanks,
Kiru
Please read these two documents:
Thank you Gysbert!
Hi Kiru,
i am stuck on this topic for quite some time now.
My situation:
Requirement:
unfortunately I have not found a solution yet... good luck
Please check if this solve your needs
Hi
Use an expression with Dimensionality() (for row dimensions) and SecondaryDimensionality() (for column dimensions) like this:
If(Dimensionality() = 0,
Count(Distinct businessKey),
If(SecondaryDimensionality() = 0,
Avg(Aggr(Count(Distinct businessKey), Dim1, Dim2, Dim3)),
Count(Distinct businessKey)
)
)
where Dim1, Dim2, and Dim3 are the three dimensions of the table. See attached for an example
Regards
Jonathan
Thank you, will test your proposed solutions.
kind regards