<?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 Error in Set Modifier ad hoc element list in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-Set-Modifier-ad-hoc-element-list/m-p/149011#M27222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;BR /&gt; I am trying to use Set Analysis on one of my charts to be able to count all the product from the last month. So if I open up the document on August, I would like to see the total amount of products there were in July. I have two fields in my database called Dateentered(format is: MM/YYYY) and Product(format is: text). So my code is as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=Count({&amp;lt;Dateentered = {Monthstart(Today(), 1)}&amp;gt;} Product )&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Unfortunately this does not work. I get "Error in set modifier ad hoc eleement list:" from the complier.&lt;/P&gt;&lt;P&gt;Not sure what I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2009 23:56:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-10T23:56:17Z</dc:date>
    <item>
      <title>Error in Set Modifier ad hoc element list</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Set-Modifier-ad-hoc-element-list/m-p/149011#M27222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;BR /&gt; I am trying to use Set Analysis on one of my charts to be able to count all the product from the last month. So if I open up the document on August, I would like to see the total amount of products there were in July. I have two fields in my database called Dateentered(format is: MM/YYYY) and Product(format is: text). So my code is as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=Count({&amp;lt;Dateentered = {Monthstart(Today(), 1)}&amp;gt;} Product )&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Unfortunately this does not work. I get "Error in set modifier ad hoc eleement list:" from the complier.&lt;/P&gt;&lt;P&gt;Not sure what I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 23:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Set-Modifier-ad-hoc-element-list/m-p/149011#M27222</guid>
      <dc:creator />
      <dc:date>2009-07-10T23:56:17Z</dc:date>
    </item>
    <item>
      <title>Error in Set Modifier ad hoc element list</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Set-Modifier-ad-hoc-element-list/m-p/149012#M27223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need a dollar sign expansion around that Monthstart function. That will force QlikView to evaluate the function before doing the Set Analysis.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Count({&amp;lt;Dateentered = {$(Monthstart(Today(), 1))}&amp;gt;} Product )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2009 01:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Set-Modifier-ad-hoc-element-list/m-p/149012#M27223</guid>
      <dc:creator />
      <dc:date>2009-07-11T01:28:02Z</dc:date>
    </item>
  </channel>
</rss>

