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
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors