<?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 App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2045061#M85979</link>
    <description>&lt;P&gt;Please try&lt;BR /&gt;=Sum({&amp;lt;Period={"$(vPeriod)"}&amp;gt;}Value)&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2023 14:46:08 GMT</pubDate>
    <dc:creator>Sivapriya_d</dc:creator>
    <dc:date>2023-03-03T14:46:08Z</dc:date>
    <item>
      <title>Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2044933#M85972</link>
      <description>&lt;P&gt;In Qlikview (not Qlik Sense) I created a variable containing this value:&amp;nbsp; &amp;nbsp;jan.-2023&lt;/P&gt;
&lt;P&gt;When using this variable in set analysis the error&amp;nbsp; mentioned in the subject appears.&lt;/P&gt;
&lt;P&gt;I tried a lot of options by adding the text-function for example, or enclose the variable name with quotation marks, so I was wondering if I can use a variable with a value like this in set analysis.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use the variable in a text box I get the value&amp;nbsp; jan.-2023&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 10:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2044933#M85972</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2023-03-03T10:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2044962#M85973</link>
      <description>&lt;P&gt;The set analysis worked if you write there the string instead of the variable? If yes, use this expression with the variable-version within a table-chart without setting a label for the expression and hover on the label. Now you will see how QlikView evaluates the variable and probably it's slightly different to the fixed string-value.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 10:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2044962#M85973</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-03-03T10:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2045000#M85976</link>
      <description>&lt;P&gt;It works with a string indeed.&lt;/P&gt;
&lt;P&gt;I am afraid that I don't understand the rest of your answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to use the variable in an expression of a table-chart ?&amp;nbsp; When I do that, the expression does not give a result, but the columheader gives the value of the variable.&lt;/P&gt;
&lt;P&gt;the expression of my variable = maxstring(period)&lt;/P&gt;
&lt;P&gt;period in my table seems to be the result of the expression: date(some_date, 'MMM-YYYY')&lt;/P&gt;
&lt;P&gt;the expression that gives an error : sum({&amp;lt;Period= {$(variable)}&amp;gt;}value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 12:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2045000#M85976</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2023-03-03T12:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2045028#M85977</link>
      <description>&lt;P&gt;A string-value should be always enclosed with single-quotes even if there are cases in which it worked without it. This means your variable should be appropriate wrapped, like: '$(variable)' unless the quotes are already part of the content. But this will only work in this way if your expression is already evaluated before it's assigned to the variable - otherwise the variable-content would be just the expression of:&amp;nbsp;&lt;SPAN&gt;maxstring(period). Of course this could be applied, too but require a syntax-change to:&amp;nbsp;'$(=variable)'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Beside of this you should change your entire approach to handle date/time-fields by applying a master-calendar which contained all needed period-fields in all needed versions - means some information might be available in various ways, like: 'Jan' and 1 and 202301 and 01/2023 and whatever ... Important is that all fields which are used for any matching and/or calculating should be pure numeric without any formatting to avoid all such syntax-stuff and should contain the right values, for example your period isn't a period else a date which is formatted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A good starting point would be:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/How-to-use-Master-Calendar-and-Date-Values/ta-p/1495741" target="_blank"&gt;How to use - Master-Calendar and Date-Values - Qlik Community - 1495741&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 13:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2045028#M85977</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-03-03T13:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2045061#M85979</link>
      <description>&lt;P&gt;Please try&lt;BR /&gt;=Sum({&amp;lt;Period={"$(vPeriod)"}&amp;gt;}Value)&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 14:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2045061#M85979</guid>
      <dc:creator>Sivapriya_d</dc:creator>
      <dc:date>2023-03-03T14:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Error in set modifier ad hoc element list: ',' or ')' expected</title>
      <link>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2046837#M86104</link>
      <description>&lt;P&gt;Thank you all, in the end this worked for me :&lt;BR /&gt;=Sum(&lt;SPAN&gt;{&amp;lt;Period = {'$(=$(vPeriod))'}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-Error-in-set-modifier-ad-hoc-element-list-or-expected/m-p/2046837#M86104</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2023-03-08T13:46:34Z</dc:date>
    </item>
  </channel>
</rss>

