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: 
soha1902
Creator
Creator

First record for a specific field.

Hi All,

I need to create a formula where my requirement is sum(Sales) / first record from 'Sales' field.

Can any one suggest me how to find the first record value from chart expression.

Thanks in advance.

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use =fieldvalue('Sales',1)


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Anonymous
Not applicable

hi

use 'top' keyword.

sum( Sales ) / top( sum( Sales ))

HTH

Ravi N.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use =fieldvalue('Sales',1)


talk is cheap, supply exceeds demand
soha1902
Creator
Creator
Author