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: 
vikasshana
Creator II
Creator II

Need help in Input box

Hi All,

Need your help in one of the requirement, I've created a variable and an input box where user can able to enter a value and can see the change in the straight table. Everything is working fine and the values are changing for the entire table but I want to see the change for a particular row rather than the whole table. Below are the examples.

Example -  This is what I'm getting.

input value is '10'.

DescValueResult(Value+Input Value)
A1020
B2030
C3040

This is what I want to see in the straight table where the value has been changed for only the first row where Desc='A'.

DescValueResult(Value+Input Value)
A1020
B2020
C3030
1 Solution

Accepted Solutions
RonaldDoes
Partner - Creator III
Partner - Creator III

Hi Bharath,

Would

=Sum(Value)+If(Desc='A', vSomeVariable,0)

work for you?

Naamloos.png

Please find the attached example.

Hope this helps you.

With kind regards,

Ronald

View solution in original post

3 Replies
RonaldDoes
Partner - Creator III
Partner - Creator III

Hi Bharath,

Would

=Sum(Value)+If(Desc='A', vSomeVariable,0)

work for you?

Naamloos.png

Please find the attached example.

Hope this helps you.

With kind regards,

Ronald

pradosh_thakur
Master II
Master II

may be something similar to this

if(Desc='A',Value+Input Value,Value)

regards

Pradosh

Learning never stops.
vikasshana
Creator II
Creator II
Author

Thank you Ronald and Pradosh, I've modified the expression as below and is working fine.

=Count(Distinct Fieldname)+If(Desc='A', vSomeVariable,0).

Thanks again for your help guys.