Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Brysonds
Contributor III
Contributor III

Is there a way to treat Input Variable as Text value?

Hello!

If I create a new variable  called vTEST1 and input '2022-09' as the expression, when adding this variable to a table using this expressions $(vTEST1) it gives an expected output of 2022-09.

However, if I create a variable input box and choose input box as the type, then enter in 2022-09 it instead calculates the expression and gives an output of 2023 (2022 minus 9 = 2023). 

Is there a way to achieve just the text value 2022-09 using a variable input field with an input box or drop-down box instead of it calculating the expression?

Labels (1)
1 Solution

Accepted Solutions
2 Replies
MarcoWedel

'$(vTEST1)'

Brysonds
Contributor III
Contributor III
Author

Ha! So simple, thank you for the quick response -- that worked perfectly!