<?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: Help with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77193#M786325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Corrected expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SUM({&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P_DATE_PRODUCTION = {'&amp;lt;=$(DATE_EXTRACTION)'},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P_DATE_OUVERTURE = {'=$(=RIGHT(P_DATE_OUVERTURE, 2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=RIGHT(ANNEE_EXTRACTION, 2))'}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;} P_MONTANT_PRODUCTION)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 11:01:08 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2018-02-23T11:01:08Z</dc:date>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77185#M786317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;&lt;/P&gt;&lt;P&gt;P_DATE_PRODUCTION = {'&amp;lt;=$(DATE_EXTRACTION)'},&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;RIGHT(P_DATE_OUVERTURE,2)&lt;/SPAN&gt; = {'=RIGHT($(ANNEE_EXTRACTION),2)'}&lt;/P&gt;&lt;P&gt;&amp;gt;}P_MONTANT_PRODUCTION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I delete&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;RIGHT(P_DATE_OUVERTURE,2) , the error is taken.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;But I can't handle without the condition in red.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Any help please?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Regards.&lt;BR /&gt;&lt;/STRONG&gt;&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/Help-with-set-analysis/m-p/77185#M786317</guid>
      <dc:creator>aminehaddar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77186#M786318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LHS of set expressions must be a physical field name, so you cannot use Right(...) there. Options are&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a derived field using&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;RIGHT(P_DATE_OUVERTURE,2) as Derived &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;and use this field in the set expression&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use this expression&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P_DATE_OUVERTURE = {"=$(=RIGHT(P_DATE_OUVERTURE,2) = RIGHT($(ANNEE_EXTRACTION),2)"}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (success will depend on the data structure in your document)&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77186#M786318</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-02-23T07:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77187#M786319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a field in backend with &lt;SPAN style="color: #ff6600; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RIGHT(P_DATE_OUVERTURE,2) as &lt;/SPAN&gt;XXXXX,&lt;/P&gt;&lt;P&gt;Use this field the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=SUM({&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;P_DATE_PRODUCTION = {'&amp;lt;=$(DATE_EXTRACTION)'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;XXXXX&lt;/SPAN&gt; = {'=RIGHT($(ANNEE_EXTRACTION),2)'}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;}P_MONTANT_PRODUCTION)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77187#M786319</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-02-23T07:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77188#M786320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I edited like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM({&amp;lt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P_DATE_PRODUCTION = {'&amp;lt;=$(DATE_EXTRACTION)'}, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P_DATE_OUVERTURE = {'=$(RIGHT(P_DATE_OUVERTURE,2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RIGHT($(ANNEE_EXTRACTION),2)'} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;}P_MONTANT_PRODUCTION)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is ok.&lt;/P&gt;&lt;P&gt;But when I press the apply button, I find this error: error in set modifier ad hoc element: ; or ') , strange no?&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, 23 Feb 2018 07:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77188#M786320</guid>
      <dc:creator>aminehaddar</dc:creator>
      <dc:date>2018-02-23T07:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77189#M786321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it before posting my problem.&lt;/P&gt;&lt;P&gt;But the system doesn't accept a field in backend in the place of the attribut.&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, 23 Feb 2018 07:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77189#M786321</guid>
      <dc:creator>aminehaddar</dc:creator>
      <dc:date>2018-02-23T07:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77190#M786322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;P_DATE_OUVERTURE is a field&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Then you can create new field in backend&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f2f2f2; color: #ff6600;"&gt;RIGHT(P_DATE_OUVERTURE,2) as &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;XXXXX,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77190#M786322</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-02-23T07:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77191#M786323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;syntax error bro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77191#M786323</guid>
      <dc:creator>aminehaddar</dc:creator>
      <dc:date>2018-02-23T07:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77192#M786324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u share qvw or code which you used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 09:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77192#M786324</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-02-23T09:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77193#M786325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Corrected expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SUM({&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P_DATE_PRODUCTION = {'&amp;lt;=$(DATE_EXTRACTION)'},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P_DATE_OUVERTURE = {'=$(=RIGHT(P_DATE_OUVERTURE, 2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=RIGHT(ANNEE_EXTRACTION, 2))'}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;} P_MONTANT_PRODUCTION)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 11:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77193#M786325</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-02-23T11:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77194#M786326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;P_DATE_PRODUCTION = {&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;&amp;lt;=$(DATE_EXTRACTION)&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}, P_DATE_OUVERTURE = {&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;=RIGHT(P_DATE_OUVERTURE, 2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= RIGHT($(ANNEE_EXTRACTION), 2)&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;} P_MONTANT_PRODUCTION)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 things I changed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Remove dollar sign expansion on top of RIGHT function for your P_DATE_OUVERTURE&lt;/P&gt;&lt;P&gt;2) Use double quotes for search string&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/5335"&gt;Quotes in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 12:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77194#M786326</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-23T12:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77195#M786327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 17:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/77195#M786327</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-02-28T17:29:40Z</dc:date>
    </item>
  </channel>
</rss>

