Forum Discussion
Weighted Average DAX Expression
- 4 years ago
Anonymous
Then my original DAX formula should give the exct result.
Are you able to access now ?
Anonymous
Yes. But There is no formula for WA Avg
- Anonymous4 years agoNot applicable
Thanks for your support i will apply the same DAX Formula as you suggested.
- tamerj14 years ago
Community Champion
Anonymous
Still random! are you sure the DAX formula outcome is not correct? - tamerj14 years ago
Community Champion
Anonymous
Then my original DAX formula should give the exct result. - tamerj14 years ago
Community Champion
Hi Anonymous
This seems to me completely random - Anonymous4 years agoNot applicable
Yes still their is some difference in WA, As suggested i have applied the below formula but number is not matching
Weighted Average =VAR CurrentTable =CALCULATETABLE ('Data 22',ALLEXCEPT ( 'FData 22', 'Data 22'[IMPORTER NAME], 'Data 22'[SKU], 'Data 22'[MONTH], 'Data 22'[YEAR] ))RETURNDIVIDE (SUMX ( CurrentTable, [MT Vol] * [Rate Per FSU] ),SUMX ( CurrentTable, [MT Vol] )) - Anonymous4 years agoNot applicable
In this report i am filtering the data Month follow with SKU then Importer name. Once will select the Importer name. then i applied the Sumproduct formula to find WA
eg : =SUMPRODUCT($P$5446:$P$5585,$I$5446:$I$5585)/SUM($I$5446:$I$5585)