<?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: KPI Expression Doesn't Work Anymore? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232851#M24142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a snapshot of your field [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;ItemExpiryDate]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Dec 2016 08:55:23 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-12-25T08:55:23Z</dc:date>
    <item>
      <title>KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232838#M24129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we have been working with Qlik Sense for a while now, and when we started to used to have the following expression in a KPI chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[ItemExpiryDate] = {"$(='&amp;lt;' &amp;amp; Date(Today()))"}&amp;gt;} distinct ItemID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we did a reload last week the value of the KPI chart is always equal to ZERO. We have checked the data and everything seems fine; however, I'd like to figure out why is Qlik Sense giving us this result. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is really appreciated,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 05:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232838#M24129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-25T05:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232839#M24130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;check in what format the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ItemExpiryDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;it's important that the date format in the set analysis will be similar to the one of the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ItemExpiryDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 06:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232839#M24130</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2016-12-25T06:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232840#M24131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I believe nothing has changed since we first implemented this expression. Also when we re-wrote the expression as an IF Condition it worked like a charm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 07:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232840#M24131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-25T07:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232841#M24132</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; font-size: 13px;"&gt;The operator should be outside&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[ItemExpiryDate] = {"&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;$(=Date(Today()))"}&amp;gt;} distinct ItemID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 07:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232841#M24132</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-25T07:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232842#M24133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vineeth! However, the expression doesn't work. it gives the total of items. In other words, it ignores the condition. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 07:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232842#M24133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-25T07:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232843#M24134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what format is ItemExpiryDate?&amp;nbsp; &lt;/P&gt;&lt;P&gt;if it is DD/MM/YYYY format then you need to add it to the expression as below&lt;/P&gt;&lt;P&gt;Both comparing field and value have to be in same format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Count({&amp;lt;[ItemExpiryDate] = {"&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;lt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;$(=Date(Today(),'&lt;STRONG&gt;DD/MM/YYYY&lt;/STRONG&gt;'))"}&amp;gt;} distinct ItemID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232843#M24134</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-25T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232844#M24135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The format is the default, as it has not been changed. As I mentioned before, it was working fine and even when we re-wrote it as an IF condition (without specifying the format). It works find. Also I have tried specifying the format and the result now is&amp;nbsp; "-" instead of a ZERO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232844#M24135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-25T08:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232845#M24136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your Default Format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Count({&amp;lt;[ItemExpiryDate] = {'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(Date(Today()))'}&amp;gt;} distinct ItemID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; 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; color: #3d3d3d; background-color: #f2f2f2;"&gt;Count({&amp;lt;[ItemExpiryDate] = {"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(Date(Today()))"}&amp;gt;} distinct ItemID)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232845#M24136</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-25T08:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232846#M24137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried both expressions and it gives the total (ignores the condition)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232846#M24137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-25T08:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232847#M24138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and the Format for [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;ItemExpiryDate]&amp;nbsp; is it the same?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232847#M24138</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-25T08:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232848#M24139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! and as I mentioned it was working before. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232848#M24139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-25T08:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232849#M24140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;removing the equal sign here&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Count({&amp;lt;[ItemExpiryDate] = {"&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;lt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(Date(Today(),'&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;M/D/YYYY&lt;/STRONG&gt;'))"}&amp;gt;} distinct ItemID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;or could it be that your [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;ItemExpiryDate] is coming in as VarChar instead of Date??&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232849#M24140</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-25T08:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232850#M24141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same result. The data type is DateTime. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232850#M24141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-25T08:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Expression Doesn't Work Anymore?</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232851#M24142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a snapshot of your field [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;ItemExpiryDate]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 08:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Expression-Doesn-t-Work-Anymore/m-p/1232851#M24142</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-25T08:55:23Z</dc:date>
    </item>
  </channel>
</rss>

