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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
beunderf
Partner - Creator II
Partner - Creator II

Linest_M not working

Hello,

I have a very easy data model and I like to calculate the LINEST_M value (Trend line)

I have a field that represents a Year_Quarter = [%KwartaalJaar], a category = [ProjectPrestatie_Onderzoeksveld] and a value field = [PP_Cijfer]

I like to calculate the LINEST_M for the Categories over the Quarters, I use the following expression:

     LINEST_M( AGGR(AVG(PP_Cijfer), %KwartaalJaar),%KwartaalJaar)

But I don't get a value, what am I doing wrong??

See attached document

Thanks in advance!

Frank

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Your %KwartaalJahr is non-numeric.

View solution in original post

2 Replies
swuehl
Champion III
Champion III

Your %KwartaalJahr is non-numeric.

beunderf
Partner - Creator II
Partner - Creator II
Author

Thank you verry much!! 🙂