Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

% Change showing wrong totals

Hi,

 

I'm trying to get the percentage change MoM and YoY of a score assigned to each account (Average value of User scores).

Each account can have multiple users, and users are added over time.

 

I've tried calculating it with 2 measures:
Total_Previous_Period =

CALCULATE(AVERAGE(Fact_Score_Weekly[Total]),PREVIOUSMONTH(Dim_Calendar[Date]))
 
Total_Change% =
DIVIDE((AVERAGE(Fact_Score_Weekly[Total])-[Total_Previous_Period]),[Total_Previous_Period],0)
 
However, this solution seems to give wrong totals (Each column represents months, bolded row is account, other rows are users
For month 3 the bolded value should be -0.19% and not 0.63%

 

 

Thanks in advance!

2 Replies