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: 
Not applicable

Linest_M & Linest_B do not work

Dear All,

Could you please look into the attachment and find out the issue why the functions Linest_M & Linest_B do not work?

Thanks,

Dong

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Your Month field contains text values, not numbers

See what happens if you turn those into numbers:

LINEST_M(#Cust.,Match(Month,'Jan','Feb','Mar','Apr','May','Jun')-1)

LINEST_B(#Cust.,Match(Month,'Jan','Feb','Mar','Apr','May','Jun')-1)


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Your Month field contains text values, not numbers

See what happens if you turn those into numbers:

LINEST_M(#Cust.,Match(Month,'Jan','Feb','Mar','Apr','May','Jun')-1)

LINEST_B(#Cust.,Match(Month,'Jan','Feb','Mar','Apr','May','Jun')-1)


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks you so much.

oknotsen
Master III
Master III

If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post).

If not, please make clear what part of this topic you still need help with .

May you live in interesting times!
Not applicable
Author

Sorry for that cause I am new for this forum.

I just marked it is correct answer

Thanks

oknotsen
Master III
Master III

All good. That is why I posted my reply .

Enjoy the community!

Onno

Qlik Community Team member

May you live in interesting times!