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
Anonymous
Not applicable

Calc Column Formula to increase a base rate by X percent annually

Hi,

 

I would like to create a calculated column that returns the Labor rate increased by 3% annually.

 

- If Date is in current year, return base rate

- If Date is in the future, return a value that is .03 percent more than what the rate would have been for the previous year

 

Below is a very simplified version of desired result, "Labor Rate" calculated column.

 

At first I thought I could do a DATEDIFF of future year - current year * .03 but that is not correct. It needs to be 3% more than whatever the previous year would have been.

 

TIA!

klp97_0-1664825042559.png

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

This is simple periodic compounding where n=1 so that you have A = P(1 + r)^t where P is the principal (your Base Rate), r is the interest rate (your Annual % Increase) and t is the number of years beyond Year 1.

 

VAR Base = 40.5
VAR Rate = 0.03
VAR Years = DATEDIFF ( MIN ( Table1[Date] ), Table1[Date], YEAR )
RETURN
   Base * ( 1 + Rate ) ^ Years

 

 

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

This is simple periodic compounding where n=1 so that you have A = P(1 + r)^t where P is the principal (your Base Rate), r is the interest rate (your Annual % Increase) and t is the number of years beyond Year 1.

 

VAR Base = 40.5
VAR Rate = 0.03
VAR Years = DATEDIFF ( MIN ( Table1[Date] ), Table1[Date], YEAR )
RETURN
   Base * ( 1 + Rate ) ^ Years

 

 

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.

Users online (10,291)