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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
armonz
Frequent Visitor

Create an exponential trend line for Price/Demand

I need to get an exponential trendline across a chart with Price as the y-axis and Quantity as the x-axis. I tried using a trendline on a scatter chart but I realized an exponential line is not available in Analytics, but I wonder if anyone has created a DAX formula that could help me program the trendline I need. This is a sample of data and an example of what I would need to achieve in PowerBI:

What I would be seeing is when the price gets higher the demand is low, but as we get a lower price, the demand starts increasing. 

armonz_0-1713898204435.png

I have seen in other posts that using linest could help me, but I have no experience using that function. Any help would be appreciated. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@armonz , refer this

Exponential Analysis in Power BI

https://www.youtube.com/watch?v=cyQ33XgJzwQ

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

3 REPLIES 3
v-kaiyue-msft
Community Support
Community Support

Hi @armonz ,

 

Thank you @amitchandak  for your replies and allow me to provide another insight:

 

Exponential trendlines in Power BI are a valuable tool for visualising data that exhibits exponential growth or decay. To add an exponential trendline in Power BI, simply perform the following steps:

 

Create a line chart in Power BI.
Add a trend line to the line chart.
Customize the trend line by adjusting the line type, colour and thickness.

vkaiyuemsft_0-1714373364656.png

 

For more details refer to the link: Adding Trend Lines & Forecasts in Power BI - GeeksforGeeks.

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

amitchandak
Super User
Super User

@armonz , refer this

Exponential Analysis in Power BI

https://www.youtube.com/watch?v=cyQ33XgJzwQ

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thanks, but this video is using a running total that stacks previous results across time, but I don't need to stack my demand over time. The curve I need would be showing how the demand increases as the price gets lower. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.