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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
radas
Regular Visitor

Exponential Curve Target Line

Hello all, 

 

I'm trying to figure out how to model the following exponential curve in PBI based on averages of historical data. I have tried plotting an average of prior year results and that seems to work but I cannot get the linest/logest of that average data set so that I can plot the data on my chart automatically. This is the data I'm attempting to replicate (current formula is ($170M =$25.0169668M*exp(.14360057+.016086)*month) where .016086 is a plug to make the end result equal to $170M.

 

radas_0-1626470148218.png

 

Here is my chart:

 

radas_1-1626470223774.png

I have actuals + forecast (in green) and I'm attempting to use the linest/logest of the yellow line to create a new y(x)=b*m^x formula in order to replace the red straightlined $170M target. Any ideas?

 

2 REPLIES 2
radas
Regular Visitor

Hi Greg, 

 

Thank you, I did try linear regression on my historical averages line (yellow and dark gray), but it's unclear how to take this further and create the exponential target I'm looking for. The linear regression only creates a trendline of my historical averages for me... any tips? In excel I would take linest(ln) and logest of my average/date range to come up with my variables but I'm not sure how to do this in PBI.

 

radas_0-1626478415953.png

 

The result I'm looking for is the blue exponential line drawn below:

 

radas_0-1626478589888.png

 

Greg_Deckler
Community Champion
Community Champion

@radas Sounds like you need linear regression. There are lots of articles on it with DAX, even a default quick measure as well as a quick measure in the Quick Measure Gallery. My book, DAX Cookbook has an example of a deseasonalized linear regression. I don't have a copy with me at the moment, it is in like Chapter 8 or 12 I think. 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Simple-Linear-Regression/m-p/247439#M55

DAX: Simple Linear Regression Pattern - TechNet Articles - United States (English) - TechNet Wiki (m...

Simple linear regression in DAX – XXL BI



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.