<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error:Error in expression: Len takes 1 parameter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936355#M955177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should actually show an example of your expression used to help us understanding the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you are expanding the variable, and it expands to something having commas, and you do this without encapsulation in single quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vVar = 1, 2, 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then don't do&lt;/P&gt;&lt;P&gt;=Len( $(vVar) ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead &lt;/P&gt;&lt;P&gt;=Len( '$(vVar)' )&lt;/P&gt;&lt;P&gt;or maybe only&lt;/P&gt;&lt;P&gt;=Len( vVar )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 14:41:58 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-19T14:41:58Z</dc:date>
    <item>
      <title>Error:Error in expression: Len takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936354#M955176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am new to Qlikview and my current project is my first try at developing applications in Qlikview. I am trying to find &lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;l&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;ength 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:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Error: Error in expression: Len takes 1 parameter"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please explain this behavior?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks i&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;n Advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 04:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936354#M955176</guid>
      <dc:creator />
      <dc:date>2015-11-19T04:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression: Len takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936355#M955177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should actually show an example of your expression used to help us understanding the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you are expanding the variable, and it expands to something having commas, and you do this without encapsulation in single quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vVar = 1, 2, 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then don't do&lt;/P&gt;&lt;P&gt;=Len( $(vVar) ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead &lt;/P&gt;&lt;P&gt;=Len( '$(vVar)' )&lt;/P&gt;&lt;P&gt;or maybe only&lt;/P&gt;&lt;P&gt;=Len( vVar )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 14:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936355#M955177</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-19T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression: Len takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936356#M955178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 14:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936356#M955178</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-19T14:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression: Len takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936357#M955179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! That worked! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Nov 2015 22:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Len-takes-1-parameter/m-p/936357#M955179</guid>
      <dc:creator />
      <dc:date>2015-11-22T22:35:52Z</dc:date>
    </item>
  </channel>
</rss>

