I have these two tables:
A data table...
ImaginaryData = DATATABLE ( \"Fruit\", STRING, \"Colour\", STRING, \"Amount\", INTEGER, {
I used following measure and it works as expected:
%Total = CALCULATE(DIVIDE(sum(ImaginaryData[Amount]), CALCULATE(SUM(ImaginaryData[Amount]),ALLSELECTED(ImaginaryData))))