<?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: SetAnalysis usage in Qliksense Script Getting Error in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146788#M20491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using nested if conditions to achieve cyclic functionality it leads poor performance,&amp;nbsp; Is there any optimised expression for these type of expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF($(vDim)=1,Year,if($(vDim)=2,Month,if($(vDim)=3,Date,if($(vDim)=4,store)))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2016 09:06:19 GMT</pubDate>
    <dc:creator>suresh_qv50</dc:creator>
    <dc:date>2016-08-24T09:06:19Z</dc:date>
    <item>
      <title>SetAnalysis usage in Qliksense Script Getting Error</title>
      <link>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146786#M20489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Every One,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am facing issue when using set analysis and aggr in qliksense script, Always getting script error for these expresions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr:&lt;/P&gt;&lt;P&gt;if(aggr(count(TransactionId),BankName)&amp;lt; 500,'Others',left(BankName,10))&lt;/P&gt;&lt;P&gt;Set Analysis:&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;sum({&amp;lt;PL.paidindays = {'-14'}&amp;gt;}PL.DueAmt) as [Statement DueAmt] resident PaymentLiquidation;&lt;/P&gt;&lt;P&gt;if i use any set analysis expresions like Qlikview always getting like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;PL.paidindays = {'-14'}&amp;gt;}PL.DueAmt) as [Statement DueAmt]&lt;/P&gt;&lt;P&gt;Getting Red Mark after sum .. Can any one give me alternative expression in case of Aggr and Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 07:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146786#M20489</guid>
      <dc:creator>suresh_qv50</dc:creator>
      <dc:date>2016-08-22T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: SetAnalysis usage in Qliksense Script Getting Error</title>
      <link>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146787#M20490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis and aggr-functions are features from the gui - they aren't available on script-level. You will need for the aggregations group by loadings and if-loops for for the conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 13:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146787#M20490</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-22T13:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: SetAnalysis usage in Qliksense Script Getting Error</title>
      <link>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146788#M20491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using nested if conditions to achieve cyclic functionality it leads poor performance,&amp;nbsp; Is there any optimised expression for these type of expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF($(vDim)=1,Year,if($(vDim)=2,Month,if($(vDim)=3,Date,if($(vDim)=4,store)))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 09:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146788#M20491</guid>
      <dc:creator>suresh_qv50</dc:creator>
      <dc:date>2016-08-24T09:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: SetAnalysis usage in Qliksense Script Getting Error</title>
      <link>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146789#M20492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of nested if-lops you could use pick(match()) - take a look here: &lt;A href="https://community.qlik.com/thread/230075"&gt;is nested if allowed in Average()?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 09:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SetAnalysis-usage-in-Qliksense-Script-Getting-Error/m-p/1146789#M20492</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-24T09:08:38Z</dc:date>
    </item>
  </channel>
</rss>

