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: 
peisenrot
Contributor III
Contributor III

add a value to a variable

hello 

I would like to add 1 to a variable. 

sum( {<ProductionYear={"1+$(=FirstVariantProductionYear)"}>}Value)

ist should show then if FirstVariantProductionYear = 2021 then 2022. But this is not working. How can I do it?

 

best regards

 

Pia

Labels (3)
1 Solution

Accepted Solutions
Ahidhar
Creator III
Creator III

try this

sum( {<ProductionYear={"$(=1+$(FirstVariantProductionYear))"}>}Value)

View solution in original post

2 Replies
Ahidhar
Creator III
Creator III

try this

sum( {<ProductionYear={"$(=1+$(FirstVariantProductionYear))"}>}Value)

peisenrot
Contributor III
Contributor III
Author

hello,

 

thanks. ProductionYear={"$(=1+$(=FirstVariantProductionYear))" is working perfekt

Best regards

Pia