Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
saiprathapdp
Frequent Visitor

Growth percentage calculation for current month using last month cost

Please guide me to calculate growth percentage for below scenerio.

 

Billing Date      cost      Customer Name

01-01-2021      250        Jarvo

01-02-2021      325        Basha

01-03-2021      475        VK

01-02-2021      530       Jarvo

01-02-2021      607       Basha

01-02-2021      683       VK

01-03-2021      709       Jarvo

01-03-2021      428       Jarvo

We have n no of rows like this we want to add one column at the end for growth percentage that should be compared with current month and previous month.

And then we want to display average growth rate percentage for the last 12 calendar months  in top of the dashboard (in card)

 

 

1 ACCEPTED SOLUTION

I have already created the measurements in the file!
My intention was to make it as complete as possible for your analysis.

 

rodrigosan_0-1631368720575.png

 

Cost =
SUM(Growth_Percentage[cost ])

Cost Last Month =
IF([Cost]=BLANK(),BLANK(),
CALCULATE(
[Cost],
DATEADD(dimDates[Date],-1,MONTH)))
Difference =
[Cost] - [Cost Last Month]

Percent. =
IF([Cost Last Month] = BLANK(),BLANK(),
DIVIDE([Difference],[Cost]))

YoY =
IFERROR(
[Cost] /
CALCULATE(
[Cost],
SAMEPERIODLASTYEAR(dimDates[Date]))-1,BLANK())

 

View solution in original post

3 REPLIES 3
rodrigosan
Responsive Resident
Responsive Resident

Hello @saiprathapdp 

I created a file with the proposed solution.
See if it helps.

https://github.com/roolsant/SOSPowerBI/blob/main/Growth_Percentage.zip

Hi @rodrigosan 

 we have already table in place with billing date,cost,customer name,etc..,

 

I just want to calcuate the growth percentage and add as one more column thats all.

If you have any idea about that please share the measures.

I have already created the measurements in the file!
My intention was to make it as complete as possible for your analysis.

 

rodrigosan_0-1631368720575.png

 

Cost =
SUM(Growth_Percentage[cost ])

Cost Last Month =
IF([Cost]=BLANK(),BLANK(),
CALCULATE(
[Cost],
DATEADD(dimDates[Date],-1,MONTH)))
Difference =
[Cost] - [Cost Last Month]

Percent. =
IF([Cost Last Month] = BLANK(),BLANK(),
DIVIDE([Difference],[Cost]))

YoY =
IFERROR(
[Cost] /
CALCULATE(
[Cost],
SAMEPERIODLASTYEAR(dimDates[Date]))-1,BLANK())

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.