Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tracycrown
Creator III
Creator III

Trend Line

Dear all

Can someone help to explain how QV compute the b and m in trend line ?.

b : linest_b(Sales,t)

m : linest_m(Sales,t)

Thank you

Tracy

 

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.

The linest_b differs a bit, because linest_b uses 0 as start of the x-axis, while the chart doesn't include 0 on the x-axis. If you set the x-axis of the chart to Continuous you get the same values.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.

The linest_b differs a bit, because linest_b uses 0 as start of the x-axis, while the chart doesn't include 0 on the x-axis. If you set the x-axis of the chart to Continuous you get the same values.


talk is cheap, supply exceeds demand
tracycrown
Creator III
Creator III
Author

Dear Mr Gysbert_Wassenaar

Thank you very much for your kind advice, I have learned something new from you.

Wishing you and your family a Happy, Healthy and Prosperous New Year 2019.

Best Wishes

Tracy 

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Thanks! Best wishes to you too, Tracy.

talk is cheap, supply exceeds demand