<?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: QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103382#M602757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({1&amp;lt;[Calendar Date] = {$(=$(vCurPeriodDatesSep_UntilYesterday))}&amp;gt;}[Value]) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211334_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2018 16:45:44 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-08-20T16:45:44Z</dc:date>
    <item>
      <title>QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103379#M602754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello all,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'm using an expression in QlikView for a series of values from a field. In this period of the year, currently we have the below days. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;'20180812','20180813','20180814','20180815','20180816','20180817','20180818','20180820','20180821','20180822','20180823','20180824','20180827','20180828','20180829','20180830','20180831','20180903','20180904','20180905','20180906','20180907'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Out of which, I need days until yesterday, (assume today is 20180820)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;'20180812','20180813','20180814','20180815','20180816','20180817','20180818'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So I used the below script, and it works as expected, by using a variable - &lt;SPAN style="text-decoration: underline;"&gt;$(vCurPeriodDatesSep_UntilYesterday)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;Chr(39)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; LEFT(REPLACE(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; CONCAT({&amp;lt;PeriodInd = {$(vCurPeriodIndStatic)},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; [Calendar Date] = P([Calendar Date])&amp;gt;}distinct [Calendar Date], '*,*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; '*',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; Chr(39))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; INDEX(REPLACE(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; CONCAT({&amp;lt;PeriodInd = {$(vCurPeriodIndStatic)},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; [Calendar Date] = P([Calendar Date])&amp;gt;}distinct [Calendar Date], '*,*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt; '*',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt; Chr(39)), Date(Today(), 'YYYYMMDD'))-3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But when I'm using the same in a table within Set Analysis like shown below, it shows blank and mentions the error&lt;/STRONG&gt; - &lt;SPAN style="color: #ff0000;"&gt;Error in set modifier ad hoc element list: ',' or ')' expected&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=Sum({1&amp;lt;[Business Segment] = {'*'}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp; [Calendar Date] = &lt;SPAN style="color: #ff0000;"&gt;{$(vCurPeriodDatesSep_UntilYesterday)},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp; PeriodInd = {$(vCurPeriodIndStatic)}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp; Country = {'$(vCountrySelected)'}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp; [KeyFigure] = {'$(vCurSAKeyFigure)'}&amp;gt;}[Value]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with this issue dear experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;BR /&gt;Ambareesh Jonnavittula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103379#M602754</guid>
      <dc:creator>jonnaamb</dc:creator>
      <dc:date>2018-08-20T16:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103380#M602755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample where we can see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103380#M602755</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-20T16:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103381#M602756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny, thank you for your quick response. Please see the attachment scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103381#M602756</guid>
      <dc:creator>jonnaamb</dc:creator>
      <dc:date>2018-08-20T16:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103382#M602757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({1&amp;lt;[Calendar Date] = {$(=$(vCurPeriodDatesSep_UntilYesterday))}&amp;gt;}[Value]) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211334_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103382#M602757</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-20T16:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103383#M602758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add an equal sign to your variable declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;Chr(39)&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;LEFT(REPLACE(&lt;/P&gt;&lt;P&gt;CONCAT({&amp;lt;&lt;/P&gt;&lt;P&gt;[Calendar Date] = P([Calendar Date])&amp;gt;}distinct [Calendar Date], '*,*')&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;'*',&lt;/P&gt;&lt;P&gt;Chr(39))&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;INDEX(REPLACE(&lt;/P&gt;&lt;P&gt;CONCAT({&amp;lt;&lt;/P&gt;&lt;P&gt;[Calendar Date] = P([Calendar Date])&amp;gt;}distinct [Calendar Date], '*,*')&lt;/P&gt;&lt;P&gt;, &lt;/P&gt;&lt;P&gt;'*',&lt;/P&gt;&lt;P&gt;Chr(39)), Date(Today(), 'YYYYMMDD'))-3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103383#M602758</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2018-08-20T16:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103384#M602759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both. The issue is resolved. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103384#M602759</guid>
      <dc:creator>jonnaamb</dc:creator>
      <dc:date>2018-08-20T16:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Expression - Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103385#M602760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you always calculate the expression until yesterday then may be you can also use like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Calendar Date] = {"&amp;lt;$(=Date(Today(), 'YYYYMMDD'))" }&amp;gt;}[Value]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Expression-Error-in-set-modifier-ad-hoc-element-list-or/m-p/103385#M602760</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-20T16:56:37Z</dc:date>
    </item>
  </channel>
</rss>

