<?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 set modifier ad hoc element list: ',' or ')' expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882339#M1015544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help Needed !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 11:22:41 GMT</pubDate>
    <dc:creator>sibideepak</dc:creator>
    <dc:date>2015-04-09T11:22:41Z</dc:date>
    <item>
      <title>Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882337#M1015542</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 could not able to sort out the issue ..I want to select the Items which have more than some % which will be selected by user.&lt;/P&gt;&lt;P&gt;And I have two doubts following,&lt;/P&gt;&lt;P&gt;1. I have expression which returns &lt;STRONG&gt;error&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Item={"=((Sum({&amp;lt;$(vPeriod)&amp;gt;}Sales)-sum({&amp;lt;$(vPeriod)&amp;gt;}Cogs))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/Sum({&amp;lt;$(vPeriod)&amp;gt;}Sales))&amp;gt;0.3"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPeriod = 'Date={"&amp;gt;=$(=Num(Min({$&amp;lt;Year={'$(=Max(Year))'}&amp;gt;}Date)))&amp;lt;=$(=Num(Max({$&amp;lt;Year={'$(=Max(Year))'}&amp;gt;}Date)))"}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I give the same expression without vPeriod &lt;STRONG&gt;it works&lt;/STRONG&gt;. ie)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Item={"=((Sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sales&lt;/SPAN&gt;)-sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Cogs&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/Sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sales&lt;/SPAN&gt;))&amp;gt;0.3"}&amp;gt;}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. '&amp;gt;0.3' Given here is static but I want it dynamic ,ie) I have Inline data which have different range like &amp;gt;30%,30-50% etc..&lt;/P&gt;&lt;P&gt;So I want it work accordingly to that list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance .,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 07:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882337#M1015542</guid>
      <dc:creator>sibideepak</dc:creator>
      <dc:date>2015-04-09T07:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882338#M1015543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anyone to help me ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 10:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882338#M1015543</guid>
      <dc:creator>sibideepak</dc:creator>
      <dc:date>2015-04-09T10:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882339#M1015544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help Needed !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 11:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882339#M1015544</guid>
      <dc:creator>sibideepak</dc:creator>
      <dc:date>2015-04-09T11:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882340#M1015545</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;Modify your variable&lt;/P&gt;&lt;P&gt;remove date from it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in set analysis use date={"$(vPeriod)"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below&lt;/P&gt;&lt;P&gt;vPeriod = &amp;gt;=$(=Num(Min({$&amp;lt;Year={'$(=Max(Year))'}&amp;gt;}Date)))&amp;lt;=$(=Num(Max({$&amp;lt;Year={'$(=Max(Year))'}&amp;gt;}Date)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Item={"=((Sum({&amp;lt;date={"$(vPeriod)"}&amp;gt;}Sales)-sum({&amp;lt;date={"$(vPeriod)"}&amp;gt;}Cogs))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/Sum({&amp;lt;date={"$(vPeriod)"}&amp;gt;}Sales))&amp;gt;0.3"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 11:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/882340#M1015545</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-04-09T11:38:02Z</dc:date>
    </item>
  </channel>
</rss>

