Dear community
I am struggling with setting some variables which I set with Set(varName, value). I am using the function CountIf to define the values. Further, I have set a simple variable Counter = 1:

As you see at the bottom when clicking into the CountIf field of n_KTP, Countif(ApplicationCollection, Machine="KTP1X") = 4. However, when I use the variables, like Counter, I figured they are not set to the values, but to "no value."

Using them in function within the app will logically always result in a value = 0.
Any ideas what I am doing wrong here?
Thanks
Thomas