<?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: How to use function in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984907#M336049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better you create Len(Comments) as lengthOfComments as new field in script and then use the below set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;lengthOfComments&amp;nbsp; = {"&amp;gt;5"}Charges)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 17:37:42 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2015-08-24T17:37:42Z</dc:date>
    <item>
      <title>How to use function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984906#M336048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use a function in Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(&amp;lt;Len(Comments) &amp;gt; {'5'}&amp;gt; CHARGES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But dont know how to use it correctly.. Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984906#M336048</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2015-08-24T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984907#M336049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better you create Len(Comments) as lengthOfComments as new field in script and then use the below set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;lengthOfComments&amp;nbsp; = {"&amp;gt;5"}Charges)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984907#M336049</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2015-08-24T17:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984908#M336050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Kaushik in the backend changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;though if you are not able to do that then try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CHARGES = {"=&lt;/SPAN&gt;Len(Comments) &amp;gt; 5"} &amp;gt;}CHARGES)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984908#M336050</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-08-24T17:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984909#M336051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;small example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; rowno() as Id,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; floor(rand()*10) as Id2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; floor(rand()*100) as CHARGES,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 99999 + floor(rand()*2) as&amp;nbsp; Comments&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AutoGenerate 100;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chart with this expression&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$ &amp;lt;Id={"=len(Comments)&amp;gt;5"}&amp;gt;} CHARGES)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find more detail here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-function-in-Set-Analysis/m-p/984909#M336051</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-24T18:04:59Z</dc:date>
    </item>
  </channel>
</rss>

