<?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 in set modifier ad hoc element list: ',' or ')' expected in formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345190#M836188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this may be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 15:03:34 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-05-26T15:03:34Z</dc:date>
    <item>
      <title>Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345182#M836180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I am trying to do the following formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;vVolumeType = 0 or 1 depending on one button&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;vVolumeTypeText = if($(vVolumeType), 'Volume hL', 'Volume Pallets')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Both of these two formulas work perfectly, but when I put it in a Set Analysis shows the title error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;sum({&amp;lt;Indicador={$(vVolumeTypeText)}&amp;gt;} Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Although the following configuration works:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;sum({&amp;lt;Indicador={'Volume hL'}&amp;gt;} Valor) or this configuration sum({&amp;lt;Indicador={'Volume Pallets'}&amp;gt;} Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;and I do not know what to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;If anyone could help me I would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345182#M836180</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345183#M836181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;sum({&amp;lt;Indicador={$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vVolumeTypeText)}&amp;gt;} Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 13:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345183#M836181</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-05-26T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345184#M836182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;Try putting an = character in front of the expression in the variable: =&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;if($(vVolumeType), 'Volume hL', 'Volume Pallets')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: Arial, sans-serif;"&gt;And put the dollar expansion in single quotes: &lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;sum({&amp;lt;Indicador={'$(vVolumeTypeText)'}&amp;gt;} Valor)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 13:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345184#M836182</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-05-26T13:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345185#M836183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;Indicador&lt;/SPAN&gt;={$(#&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;vVolumeTypeText&lt;/SPAN&gt;)}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;Valor&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 13:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345185#M836183</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-05-26T13:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345186#M836184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it a typo that you do not have complete logic check&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;vVolumeTypeText = if($(vVolumeType), 'Volume hL', 'Volume Pallets')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt; it should be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: Arial, sans-serif;"&gt;vVolumeTypeText = if($(vVolumeType) = 1, 'Volume hL', 'Volume Pallets')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 13:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345186#M836184</guid>
      <dc:creator>zebhashmi</dc:creator>
      <dc:date>2017-05-26T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345187#M836185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the answers. I tried the three of them and anyone of then works:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: Arial, sans-serif;"&gt;sum({&amp;lt;Indicador={$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;vVolumeTypeText)}&amp;gt;} Valor) is still have the same error&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: Arial, sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; background-color: #f2f2f2;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: Arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if($(vVolumeType), 'Volume hL', 'Volume Pallets')this formula works only without the = sign (if I put it this formula does not work anymore)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; background-color: #f2f2f2; font-family: Arial, sans-serif; font-weight: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;=Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: Arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Indicador&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;={$(#&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: Arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;vVolumeTypeText&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;)}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: Arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Valor&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;)does not work too even with the = sign.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;I tried this too &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333px; font-style: inherit; font-weight: inherit; color: #3d3d3d; line-height: 1.5em; background-color: #f2f2f2;"&gt;vVolumeTypeText = if($(vVolumeType) = 1, 'Volume hL', 'Volume Pallets'), but is having the same error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try send a mock.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 14:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345187#M836185</guid>
      <dc:creator />
      <dc:date>2017-05-26T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345188#M836186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put a link for an mock here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-18572"&gt;mockt.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 14:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345188#M836186</guid>
      <dc:creator />
      <dc:date>2017-05-26T14:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345189#M836187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please try like below:&lt;/P&gt;&lt;P&gt;in your Variable Overview:&lt;/P&gt;&lt;P&gt;vVolumeTypeText&lt;/P&gt;&lt;P&gt;=if($(vVolumeType) = 1, 'Volume hL', 'Volume Pallets')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vVolume_error&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Indicador={"$(vVolumeTypeText)"}&amp;gt;} Valor)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 14:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345189#M836187</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2017-05-26T14:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345190#M836188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this may be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 15:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345190#M836188</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-05-26T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in set modifier ad hoc element list: ',' or ')' expected in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345191#M836189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Works perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Even though I do not understood why. I saw that in some cases we use = in variable and $ and another, could you, please, tell me why this difference?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 16:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-set-modifier-ad-hoc-element-list-or-expected-in-formula/m-p/1345191#M836189</guid>
      <dc:creator />
      <dc:date>2017-05-26T16:53:26Z</dc:date>
    </item>
  </channel>
</rss>

