<?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: set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572489#M1104114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess your syntax is wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to as below .Define a variable and test it fiest.Then use it in set analysis&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;"&gt;vWeekno=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;max({{$&amp;lt;fiscal = {'$(vFiscal2)'}&amp;gt;} [week no.]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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;"&gt;sum({&amp;lt;fiscal = {'$(vFiscal1)'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[week no.] ={'&amp;lt;=$(=$(vWeekno))'}&amp;gt;} [Gross_bookings])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 21:35:29 GMT</pubDate>
    <dc:creator>chiru_thota</dc:creator>
    <dc:date>2014-03-27T21:35:29Z</dc:date>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572488#M1104113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, I'm trying to calculate the total of gross bookings, based on some selections, but can't get it right. the expression I'm using is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;fiscal = {'$(vFiscal1)'}, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[week no.] &amp;lt;= max({{$&amp;lt;fiscal = {'$(vFiscal2)'}&amp;gt;} [week no.]})&amp;gt;} [Gross_bookings])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select fiscal year equals to vFiscal1, and [week no.] smaller than or equal to the maximum [week no.] available for vFiscal2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have been struggling with this for hours, can anybody help me iwith this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 21:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572488#M1104113</guid>
      <dc:creator />
      <dc:date>2014-03-27T21:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572489#M1104114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess your syntax is wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to as below .Define a variable and test it fiest.Then use it in set analysis&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;"&gt;vWeekno=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;max({{$&amp;lt;fiscal = {'$(vFiscal2)'}&amp;gt;} [week no.]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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;"&gt;sum({&amp;lt;fiscal = {'$(vFiscal1)'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[week no.] ={'&amp;lt;=$(=$(vWeekno))'}&amp;gt;} [Gross_bookings])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 21:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572489#M1104114</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-03-27T21:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572490#M1104115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SUM({$&amp;lt;fiscal = {'$(vFiscal1)'}, [week no.] = {"&amp;lt;=$(=Max({&amp;lt;fiscal = {'$(vFiscal2)'}&amp;gt;}[week no.]))"}&amp;gt;}Gross_bookings)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 21:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572490#M1104115</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-27T21:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572491#M1104116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chiranjeevi, very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 22:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572491#M1104116</guid>
      <dc:creator />
      <dc:date>2014-03-27T22:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572492#M1104117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked! Thanks very much Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 22:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/572492#M1104117</guid>
      <dc:creator />
      <dc:date>2014-03-27T22:22:32Z</dc:date>
    </item>
  </channel>
</rss>

