<?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: Date breaks my Set expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1757489#M58471</link>
    <description>&lt;P&gt;Maybe with?:&amp;nbsp;&lt;SPAN&gt;Sum({&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;[ACCNT_CODE]={"=Aggr(Sum([AMOUNT]),ACCNT_CODE)&amp;lt;0"}&amp;gt; - (1-$&amp;lt;[ACCNT_CODE]={"12*", "13*", "14*","32*", "33*", "34*","A*", "E*", "R*"}&amp;gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;) *&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;[Year]={"&amp;lt;=2020"}&amp;gt;}[AMOUNT])&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you use your working expression and manually select Year&amp;lt;=2000, it works? if its not working manually then the issue need to be solved in data model.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 31 Oct 2020 12:02:46 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2020-10-31T12:02:46Z</dc:date>
    <item>
      <title>Date breaks my Set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1757417#M58455</link>
      <description>&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;I have the follwing expression:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[ACCNT_CODE]={"=Aggr(Sum([AMOUNT]),ACCNT_CODE)&amp;lt;0"}&amp;gt; - (1-$&amp;lt;[ACCNT_CODE]={"12*", "13*", "14*","32*", "33*", "34*","A*", "E*", "R*"}&amp;gt;}[AMOUNT]) and it works, this expression&amp;nbsp;&amp;lt;[ACCNT_CODE]={"=Aggr(Sum([AMOUNT]),ACCNT_CODE)&amp;lt;0"}&amp;gt;&amp;nbsp; groups the balance of all accounts that are less than zero, the following expression&amp;nbsp;(1-$&amp;lt;[ACCNT_CODE]={"12*", "13*", "14*","32*", "33*", "34*","A*", "E*", "R*"}&amp;gt;&amp;nbsp; filters the accounts that I need, but if I also want to filter by DATE or [Year]={"&amp;lt;=2020"} my expression breaks for ex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Sum({&amp;lt;[ACCNT_CODE]={"=Aggr(Sum([AMOUNT]),ACCNT_CODE)&amp;lt;0"}&amp;gt; - (1-$&amp;lt;[ACCNT_CODE]={"12*", "13*", "14*","32*", "33*", "34*","A*", "E*", "R*"}&amp;gt; +&amp;lt;[Year]={"&amp;lt;=2020"}&amp;gt;}[AMOUNT]) or&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[ACCNT_CODE]={"=Aggr(Sum([AMOUNT]),ACCNT_CODE)&amp;lt;0"},[Year]={"&amp;lt;=2020"}&amp;gt; - (1-$&amp;lt;[ACCNT_CODE]={"12*", "13*", "14*","32*", "33*", "34*","A*", "E*", "R*"}&amp;gt;}[AMOUNT])&lt;/P&gt;&lt;P&gt;Please help me and thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1757417#M58455</guid>
      <dc:creator>JASalinas</dc:creator>
      <dc:date>2024-11-16T01:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date breaks my Set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1757489#M58471</link>
      <description>&lt;P&gt;Maybe with?:&amp;nbsp;&lt;SPAN&gt;Sum({&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;[ACCNT_CODE]={"=Aggr(Sum([AMOUNT]),ACCNT_CODE)&amp;lt;0"}&amp;gt; - (1-$&amp;lt;[ACCNT_CODE]={"12*", "13*", "14*","32*", "33*", "34*","A*", "E*", "R*"}&amp;gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;) *&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;[Year]={"&amp;lt;=2020"}&amp;gt;}[AMOUNT])&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you use your working expression and manually select Year&amp;lt;=2000, it works? if its not working manually then the issue need to be solved in data model.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 12:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1757489#M58471</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-10-31T12:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date breaks my Set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1758178#M58551</link>
      <description>&lt;P&gt;Hi Rubenmarin first, thank you for your answer. And answering your question, yes the set Analysis is working manually. I will try your suggestion.. I will tell you later.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 15:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1758178#M58551</guid>
      <dc:creator>JASalinas</dc:creator>
      <dc:date>2020-11-03T15:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date breaks my Set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1758475#M58593</link>
      <description>&lt;P&gt;Hyi My Friend... Don't work this solution!...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 15:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-breaks-my-Set-expression/m-p/1758475#M58593</guid>
      <dc:creator>JASalinas</dc:creator>
      <dc:date>2020-11-04T15:07:40Z</dc:date>
    </item>
  </channel>
</rss>

