Forum Discussion
tborg
Helper I
8 years agoCalculating variance from an average
Hi all! I have the following table visualization: What I want to do is to create a column that calculates the variance of Ave. Earnings in each row compared to the variance of the total amoun...
Zubair_Muhammad
Community Champion
8 years agoHi tborg
Give this MEASURE a shot
Variance =
VAR Total =
SUMX ( ALLSELECTED ( TableName[Category] ), [Ave,Earnings] )
RETURN
DIVIDE ( [Ave.Earnings], Total ) - 1tborg
Helper I
8 years agoNo, that did not work. It gave me a column for Variance that was mostly -71% to -90%. I will play with the formula and see if it's just a matter of finding the right columns/measures to use.