Forum Discussion
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
- v-deddai1-msftCommunity 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