Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am new to Qlikview and my current project is my first try at developing applications in Qlikview. I am trying to find length of variables and if the length is greater than '0' then show a particular expression in graph. However, when I try to use this len() function I get the following error:
"Error: Error in expression: Len takes 1 parameter"
Could anyone please explain this behavior?
Thanks in Advance!
You should actually show an example of your expression used to help us understanding the issue.
I assume you are expanding the variable, and it expands to something having commas, and you do this without encapsulation in single quotes:
vVar = 1, 2, 3
then don't do
=Len( $(vVar) )
instead
=Len( '$(vVar)' )
or maybe only
=Len( vVar )
You should actually show an example of your expression used to help us understanding the issue.
I assume you are expanding the variable, and it expands to something having commas, and you do this without encapsulation in single quotes:
vVar = 1, 2, 3
then don't do
=Len( $(vVar) )
instead
=Len( '$(vVar)' )
or maybe only
=Len( vVar )
What exactly is your expression?
Thank you! That worked!