Forum Discussion
tborg
8 years agoHelper I
Calculating 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
8 years agoCommunity Champion
Hi tborg
Give this MEASURE a shot
Variance =
VAR Total =
SUMX ( ALLSELECTED ( TableName[Category] ), [Ave,Earnings] )
RETURN
DIVIDE ( [Ave.Earnings], Total ) - 1tborg
8 years agoHelper I
No, 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.