Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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