<?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 What is wrong with my sentence? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-my-sentence/m-p/335605#M123751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum(If(Date(%DataID) &amp;gt;= (date(min({&amp;lt;Mes={"=max(Mes)"},Semana=&amp;gt;}%DataID))) , VLR_VENDA_BRUTA ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This part works quite well when I ask for it to return me a date: (date(min({&amp;lt;Mes={"=max(Mes)"},Semana=&amp;gt;}%DataID)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still when I fit it inside the sentence, it doesn't work! And the sentence seems to work fine because if I paste some other date there, it returns me a SUM!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2012 21:15:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-02T21:15:32Z</dc:date>
    <item>
      <title>What is wrong with my sentence?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-my-sentence/m-p/335605#M123751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum(If(Date(%DataID) &amp;gt;= (date(min({&amp;lt;Mes={"=max(Mes)"},Semana=&amp;gt;}%DataID))) , VLR_VENDA_BRUTA ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This part works quite well when I ask for it to return me a date: (date(min({&amp;lt;Mes={"=max(Mes)"},Semana=&amp;gt;}%DataID)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still when I fit it inside the sentence, it doesn't work! And the sentence seems to work fine because if I paste some other date there, it returns me a SUM!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 21:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-my-sentence/m-p/335605#M123751</guid>
      <dc:creator />
      <dc:date>2012-08-02T21:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with my sentence?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-my-sentence/m-p/335606#M123752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;Try changing the sequence, like this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: verdana, geneva;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; background-color: #eef4f9;"&gt;f(Date(%DataID) &amp;gt;= (date(min({&amp;lt;Mes={"=max(Mes)"},Semana=&amp;gt;}%DataID))) , sum(VLR_VENDA_BRUTA)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Henco&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #eef4f9; font-family: verdana, geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 20:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-my-sentence/m-p/335606#M123752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-03T20:29:36Z</dc:date>
    </item>
  </channel>
</rss>

