Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
hkg_qlik
Creator III
Creator III

Multiplier Front End (Previous/Current) field

Hi 

How can we create a new Field on UI without making any changes on back end script. Month and Value 1 are available. Now user wants to derive Value 2 field as shown below.

Value 2 (Feb) = Jan(Value 1) * Feb(Value 1) = 1.08*1.09 = 1.18

Value 2 (Mar) = Feb(Value 1) * Mar(Value 1) = 1.09*1.04 = 1.13

Value 2 (Apr) = Mar(Value 1) * Apr(Value 1) = 1.04*1.03 = 1.07

MonthValue 1Value 2
Jan1.08 
Feb1.091.18
Mar1.041.13
Apr1.031.07

 

Thanks!

Labels (3)
1 Solution

Accepted Solutions
sunny_talwar

Try this

=Sum(Value1) * Alt(Above(Sum(Value1)), 0)

or

=exp(RangeSum(Above(log(Sum(Value1)), 0, 2)))

View solution in original post

2 Replies
sunny_talwar

Try this

=Sum(Value1) * Alt(Above(Sum(Value1)), 0)

or

=exp(RangeSum(Above(log(Sum(Value1)), 0, 2)))
hkg_qlik
Creator III
Creator III
Author

Thanks Sunny !

=Sum(Value1) * Alt(Above(Sum(Value1)), 0)