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: 
Anonymous
Not applicable

Set modifier field greater than field and variable

Hello,

I'm trying to compare a field on one part to a field and a variable on another part, inside a set modifier.

Business Rule: Cap<= (Rate + vShock)

The Cap and Rate are fields and the vShock is a variable.

I have tried the following syntaxes:

sum ({<Cap={"<=$(=Rate + $(vShock))"}>} Balance)

sum ({<Cap={"<=($(=Rate) + $(vShock))"}>} Balance)

sum ({<Cap={"<=$(=Rate + vShock)"}>} Balance)

[...]


I know how to use a set modifier for a variable alone, and for a field alone (dollar expansion) but I'm struggling with merging them.


Any thoughts?


Thanks

22 Replies
sunny_talwar

Try this

Sum({<Deal = {"=Floor < Rate + $(vShock) and Cap > Rate + $(vShock)"}>} Balance)

shekhar_analyti
Specialist
Specialist

I am glad that my post is shared as reference .. Thank you Sunny Bhai

Anonymous
Not applicable
Author

Works like a charm

Thank you Sunny