<?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 Qlik Sense Expression not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530586#M107832</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this Set Analysis but it is not working because the if condition is not working and always executing the else section. The problem seems to me is,&amp;nbsp;the if condition is returning multiple values therefore, the true condition is not executed and directed to execute else block of code.&lt;/P&gt;&lt;P&gt;How to fix this thing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(Month(Date) = month(today()-1) and Year(Date) = year(today()-1),&lt;/P&gt;&lt;P&gt;sum({&amp;lt;field={0}&amp;gt;}field1), sum({&amp;lt;field={0}&amp;gt;}field2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 11 Sep 2025 23:35:23 GMT</pubDate>
    <dc:creator>profilejamesbond</dc:creator>
    <dc:date>2025-09-11T23:35:23Z</dc:date>
    <item>
      <title>Qlik Sense Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530586#M107832</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this Set Analysis but it is not working because the if condition is not working and always executing the else section. The problem seems to me is,&amp;nbsp;the if condition is returning multiple values therefore, the true condition is not executed and directed to execute else block of code.&lt;/P&gt;&lt;P&gt;How to fix this thing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(Month(Date) = month(today()-1) and Year(Date) = year(today()-1),&lt;/P&gt;&lt;P&gt;sum({&amp;lt;field={0}&amp;gt;}field1), sum({&amp;lt;field={0}&amp;gt;}field2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 23:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530586#M107832</guid>
      <dc:creator>profilejamesbond</dc:creator>
      <dc:date>2025-09-11T23:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530595#M107833</link>
      <description>&lt;P&gt;Are you using this condition in KPI or table object?&lt;/P&gt;&lt;P&gt;Do you have a date that is corresponding to the yesterday?&lt;/P&gt;&lt;P&gt;What selections are you making in the filters?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 04:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530595#M107833</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2025-09-12T04:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530600#M107834</link>
      <description>&lt;P&gt;It seems your date may not be evaluating correctly against the specified conditions. Try checking each condition separately to see what result it produces.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 05:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530600#M107834</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2025-09-12T05:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530614#M107836</link>
      <description>&lt;P&gt;You could try using a more pure set analysis approach to solve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;field = {0}, Date = {"&amp;gt;=$(=MonthStart(Today(), -1)) &amp;lt;=$(=MonthEnd(Today(), -1))"}&amp;gt;} field1)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum({&amp;lt;field = {0}, Date -= {"&amp;gt;='$(=MonthStart(Today(), -1))' &amp;lt;='$(=MonthEnd(Today(), -1))'"}&amp;gt;} field2)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 05:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Expression-not-working/m-p/2530614#M107836</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-09-12T05:57:38Z</dc:date>
    </item>
  </channel>
</rss>

