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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Gareth_Hunt
Helper II
Helper II

trend line gradient value

Hi Guys can you help 

 

I found this post

https://community.powerbi.com/t5/Desktop/Trend-line-values/m-p/1646737#M660327

 

that provies a measure that approximates to a trend line ,but What iwant to knwo is hte value of the "slope / gradient" of the linear recession - I want apply to sales of a product to determine growth/decline rate

 

please help!!!!

 

with best regards

 

gareth

 

1 REPLY 1
v-deddai1-msft
Community Support
Community Support

Hi @Gareth_Hunt ,

 

Are you try to calculating sales change percentage over time? It's better that you can create a calendar table in your data model, and use the previousmonth function(aggregation of month). For more details, please refer to https://www.mssqltips.com/sqlservertip/6424/calculate-percentage-growth-over-time-with-power-bi/

 

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

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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