Forum Discussion
memon_rehan
Apr 01, 2019Copper Contributor
AVERAGES Calculation Error in PowerPivot for Heirarchical Data
Hello Friends, I used the DAX Parent Child Hierarchy DAX Model from this link https://www.daxpatterns.com/parent-child-hierarchies/ to build my own Organization GOALS Heirarchical Da...
SergeiBaklan
Apr 01, 2019Diamond Contributor
Hi memon_rehan ,
It shows correct result. If you go back to source table and calculate it here
you see the same results as in PivotTable. That's since 3.6.4 has subitems and
AVERAGE(AVERAGE(range1)+AVERAGE(range2)) or (range1/n1 + range2/n2)/2 is not equal to AVERAGE(range1, range2) or (range1, range2)/(n1+n2)
Above is also in attached file
memon_rehan
Apr 02, 2019Copper Contributor
SergeiBaklan Thanks for the quick reply. It might the correct for Microsoft Excel calculation, however I need the right percentage based on the selection. Is there anything i can do with the Measure formula to achieve this ?