<?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 No errors but not getting any results in KPI in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153248#M93409</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I have to count claims based on the following conditions in the KPI. I have used the following expression, it did not display any error but it did not display any counts on the front end.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; TYPE = {'Sound Recording'}, DECISION = {'Approved', 'Rejected'}, CREATED_YEAR = {"&amp;lt;= 1972"} &amp;gt;} CLAIM_NUM)&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; TYPE = {'Sound Recording'}, DECISION = {'Approved', 'Rejected'}, CREATED_YEAR = {"&amp;lt;= '1972' "} &amp;gt;} CLAIM_NUM)&lt;/P&gt;
&lt;P&gt;What I am missing here.&lt;/P&gt;
&lt;P&gt;'Created Year" column has just "Years" in it and it is listed as VARCHAR in the database.&lt;/P&gt;
&lt;P&gt;Thank you all in advance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 23:40:15 GMT</pubDate>
    <dc:creator>pgloc2020</dc:creator>
    <dc:date>2023-12-14T23:40:15Z</dc:date>
    <item>
      <title>No errors but not getting any results in KPI</title>
      <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153248#M93409</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I have to count claims based on the following conditions in the KPI. I have used the following expression, it did not display any error but it did not display any counts on the front end.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; TYPE = {'Sound Recording'}, DECISION = {'Approved', 'Rejected'}, CREATED_YEAR = {"&amp;lt;= 1972"} &amp;gt;} CLAIM_NUM)&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; TYPE = {'Sound Recording'}, DECISION = {'Approved', 'Rejected'}, CREATED_YEAR = {"&amp;lt;= '1972' "} &amp;gt;} CLAIM_NUM)&lt;/P&gt;
&lt;P&gt;What I am missing here.&lt;/P&gt;
&lt;P&gt;'Created Year" column has just "Years" in it and it is listed as VARCHAR in the database.&lt;/P&gt;
&lt;P&gt;Thank you all in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 23:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153248#M93409</guid>
      <dc:creator>pgloc2020</dc:creator>
      <dc:date>2023-12-14T23:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: No errors but not getting any results in KPI</title>
      <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153291#M93413</link>
      <description>&lt;P&gt;If you replicate these selections in the App manually using filters, does a simple Count(CLAIM_NUM) return anything?&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 00:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153291#M93413</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-12-15T00:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: No errors but not getting any results in KPI</title>
      <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153307#M93414</link>
      <description>&lt;P&gt;In order to count&amp;nbsp; &amp;lt;= 1970, user has to select so many years. Using manual filters option might not be feasible option. I am getting correct counts when I use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; TYPE = {'Sound Recording'}, DECISION = {'Approved', 'Rejected'} &amp;gt;} CLAIM_NUM)&lt;/P&gt;
&lt;P&gt;but I have to count all the claims from &amp;lt;= 1972 and using that in the expression, I am not getting any data in the KPI. I have a feeling because Created Year is listed as a VARCHAR, I need to convert it into the numbers in order to use &amp;lt; and = .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way I can filter the whole data within the Load statement so that it will load only 1972 and prior to that records only?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 02:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153307#M93414</guid>
      <dc:creator>pgloc2020</dc:creator>
      <dc:date>2023-12-15T02:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: No errors but not getting any results in KPI</title>
      <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153350#M93415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/136533"&gt;@pgloc2020&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Hey here you can use below where condition in Data Load editor Script&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MyTable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOAD * FROM ...MySource...&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;WHERE Year(MyDateStampField) &amp;gt;= 1972&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;Hope it will help you!!!&lt;BR /&gt;&lt;BR /&gt;Thanks!!!!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 05:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153350#M93415</guid>
      <dc:creator>RamanaKumarChintalapati</dc:creator>
      <dc:date>2023-12-15T05:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: No errors but not getting any results in KPI</title>
      <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153598#M93443</link>
      <description>&lt;P&gt;I did not mean for you to have the user select all the years. I was suggesting the manual selections for you only as a way to test that your set expression should return some data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should simulate the YEAR modifier by typing &amp;lt;=1970 in the YEAR filter (a numeric search, see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Qlik-Sense-Cheat-Sheet-version-2-0/ba-p/1667455" target="_blank"&gt;https://community.qlik.com/t5/Design/Qlik-Sense-Cheat-Sheet-version-2-0/ba-p/1667455&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 14:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153598#M93443</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-12-15T14:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: No errors but not getting any results in KPI</title>
      <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153603#M93444</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tried as you mentioned in the Load statement, but no data is displaying on the sheet. It is coming as blank.&lt;/P&gt;
&lt;P&gt;where Year([CREATED_YEAR])&amp;lt;= 1972;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 14:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153603#M93444</guid>
      <dc:creator>pgloc2020</dc:creator>
      <dc:date>2023-12-15T14:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: No errors but not getting any results in KPI</title>
      <link>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153617#M93448</link>
      <description>&lt;P&gt;My updates- I got the answer. Here's what I did&lt;/P&gt;
&lt;P&gt;In the load statement I used&amp;nbsp;num#([CREATED_YEAR],'####') as [CREATED_YEAR] and it converted the data (4 digit) into the numbers leaving bad data as string.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the set analysis I used the following which gives me the correct counts&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt; TYPE = {'Sound Recording'}, DECISION = {'Approved', 'Rejected'}, CREATED_YEAR ={"&amp;lt;=1972"} &amp;gt;} CLAIM_NUM)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Following link helped me to get the answer-&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.datameer.com/blog/greater-than-less-than-and-dates-in-qlik-set-analysis/" target="_blank" rel="noopener"&gt;https://www.datameer.com/blog/greater-than-less-than-and-dates-in-qlik-set-analysis/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 15:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-errors-but-not-getting-any-results-in-KPI/m-p/2153617#M93448</guid>
      <dc:creator>pgloc2020</dc:creator>
      <dc:date>2023-12-15T15:04:21Z</dc:date>
    </item>
  </channel>
</rss>

