Skip to main content
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: 
Not applicable

Question regarding comments in variables

I recently created several variables containing expressions and then have one variable that adds the other variables together

example V4 = V1 + V2 + V3

I had issues when using V4 in my charts and found out it was cased by comments I had underneath the expressions in V1, V2, V3

Is this a common issue? Are there limitations or best practices to follow?  It took some time before I was able to determine the root cause of the issue

1 Solution

Accepted Solutions
maxgro
MVP
MVP

maybe your comment was

// a comment

and it doesn't work when you add another variable?

I suppose it's better a

/* another comment */

View solution in original post

2 Replies
maxgro
MVP
MVP

maybe your comment was

// a comment

and it doesn't work when you add another variable?

I suppose it's better a

/* another comment */

Not applicable
Author

my comments wre done as //

in the future I will try /*   */ and see if that makes a difference

Thanks for your quick response