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

Calculate daily return

Hi,

How can I calculate daily return in Qlikview?

Picture1.png

1 Solution

Accepted Solutions
male_carrasco
Creator
Creator

try

(Above(sum(Price))-sum(Price)) / sum(Price)

Ale.-

View solution in original post

5 Replies
israrkhan
Specialist II
Specialist II

share sample document or try previous() function in load script.

or above() function in front end...

Not applicable
Author

I just would like to calculate basic (r1-r2)/r2 where r1 is price today and r2 is price of yeasterday... I would like to do this with expression as there needs to be done some aggregation in my actual data.

male_carrasco
Creator
Creator

try

(Above(sum(Price))-sum(Price)) / sum(Price)

Ale.-

Not applicable
Author

Thanks!

MK_QSL
MVP
MVP

Like this?