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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Get projected trend line based on dynamic CAGR calculated with end goal value and current value

I have a data coming for each month customer. Based on the current months' value as current value and target value for year end as end value, I need to get CAGR and the esimate the monthly projection for each month till the year end and create a line chart for the projected trend line. I have done similar in Excel and attached it here. Link to Excel Sheet 

 

In the following image, The 2020 Customer data are actual data with December 2020 customer value being the latest value. With the Goal of attaining 5000 customer for December 2021 and current value being December 2020 value that is 1500, the CAGR is calculated with : [(End value/current value)^(1/12)]-1.

WIth the CAGR recieved, I Have projected the customer value for Jan throughout Dec 2021 and the displayed them in chart. I want to be able to achieve this in PowerBI. 

Your help is greatly appreciated!!!

 

 

Capture-CAGR.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. Create calculated column.

Projected Customer =
 var _CAGR=
 POWER(DIVIDE(5000,1500),(1/12))
 var _index=
 RANKX(FILTER('Table',[Customer]=BLANK()),[Date],,ASC,Dense)
 var _result=
 POWER(_CAGR,_index)*1500
 return
 IF([Customer]=BLANK(),_result,BLANK())

2. Result.

v-yangliu-msft_0-1610442084972.png

v-yangliu-msft_1-1610442084979.png

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. Create calculated column.

Projected Customer =
 var _CAGR=
 POWER(DIVIDE(5000,1500),(1/12))
 var _index=
 RANKX(FILTER('Table',[Customer]=BLANK()),[Date],,ASC,Dense)
 var _result=
 POWER(_CAGR,_index)*1500
 return
 IF([Customer]=BLANK(),_result,BLANK())

2. Result.

v-yangliu-msft_0-1610442084972.png

v-yangliu-msft_1-1610442084979.png

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@Anonymous 

How do I Dynamically populate the Projected Customer data?

All I have is the following data, and it varies for different product.

Capture.PNG

Hi,

Please share complete datasets.  You said that you have this data for multiple products.  So there should be an additional column in each table shown in your second post called product.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi Ashish Mathur, 

I have attached the link to an excel file. please have a look.

Link to the excel file 

I get an access denied message.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Please check this Link Thanks!!!

Hi,

Someone else will help you with this one.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi  @Anonymous  ,

Here are the steps you can follow:

1. Create calculated column.

CAGR =
var _1=DIVIDE([ Projected Customer],1500)
return
IF([ Projected Customer]=BLANK(),BLANK(),
POWER(_1,(1/12))-1)

2. Result.

Use line chart to put date into axis and CAGR into values

v-yangliu-msft_0-1610095914494.png

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors