cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bjoshi
Resolver I
Resolver I

Calculating Growth Percentage from cumulative

Hi, I have two measures:

LineAmountMTD = TOTALMTD(Sum(Invoices[LineItem_LineAmount]),'Date'[Date], Invoices[Type]="AccRec")

 

PreviousMonthLineAmount = TOTALMTD(Sum(Invoices[LineItem_LineAmount]),PREVIOUSMONTH('Date'[Date]),Invoices[Type]="AccRec")

 

Now, I need to calculate percentage of growth this month vs last month. I am using this measure:

SalesAmountGrowthPercentage = DIVIDE([PreviousMonthLineAmount]-[LineAmountMTD], [LineAmountMTD])

 

This does not give me the right output. I might need to just grab the final cumulative totals from first two measures, I guess. 

What am I doing wrong here?

 

 

1 ACCEPTED SOLUTION
bjoshi
Resolver I
Resolver I

Well, It seems to be giving the right answer. It was few filters that I had used that was messing things up.

 

 

View solution in original post

1 REPLY 1
bjoshi
Resolver I
Resolver I

Well, It seems to be giving the right answer. It was few filters that I had used that was messing things up.

 

 

Helpful resources

Announcements
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors