<?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 expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837009#M1007482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;opp_create_year={$(vCurrentYear)}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;opp_type&lt;/SPAN&gt; = {'Monthly'}&amp;gt;} opp_count)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2015 16:50:18 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-05-22T16:50:18Z</dc:date>
    <item>
      <title>Help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837008#M1007481</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;Please can you help me put the two expressions below into one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(If(WildMatch([opp_type],'Monthly*'),opp_count))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;opp_create_year={$(vCurrentYear)}&amp;gt;} opp_count)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot seem to figure this one out !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 16:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837008#M1007481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-22T16:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837009#M1007482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;opp_create_year={$(vCurrentYear)}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;opp_type&lt;/SPAN&gt; = {'Monthly'}&amp;gt;} opp_count)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 16:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837009#M1007482</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-22T16:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837010#M1007483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;=sum({&amp;lt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[opp_type]={"&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Monthly*&lt;/SPAN&gt;"},&lt;/SPAN&gt;opp_create_year={$(vCurrentYear)}&amp;gt;} opp_count)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 16:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837010#M1007483</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-05-22T16:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837011#M1007484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May this is what you want:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;opp_create_year={$(vCurrentYear)}&amp;gt;} If(WildMatch([opp_type],'Monthly*'), opp_count))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;opp_create_year={$(vCurrentYear)}, opp_type={'Monthly*'}&amp;gt;} opp_count)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 16:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837011#M1007484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-22T16:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837012#M1007485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other solutions could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14323315193616665 jive_text_macro" jivemacro_uid="_14323315193616665"&gt;
&lt;P&gt;=Sum(If(opp_type like 'Monthly*' and opp_create_year=$(vCurrentYear), opp_count))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14323315152657852" jivemacro_uid="_14323315152657852"&gt;
&lt;P&gt;=-Sum((opp_type like 'Monthly*' and opp_create_year=$(vCurrentYear))*opp_count)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;although set expressions should perform better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_165250_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87356_QlikCommunity_Thread_165250_Pic1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_165250_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/87357_QlikCommunity_Thread_165250_Pic2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 21:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/837012#M1007485</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-05-22T21:54:29Z</dc:date>
    </item>
  </channel>
</rss>

