<?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 KPI Count Value not the same as that in the Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-Count-Value-not-the-same-as-that-in-the-Table/m-p/2420763#M95658</link>
    <description>&lt;P&gt;I have a table which looks like below:&lt;/P&gt;
&lt;TABLE border="1" width="99.99999999999999%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="39px"&gt;item_id&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="39px"&gt;country&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="39px"&gt;group&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="39px"&gt;category&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="39px"&gt;type1&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="39px"&gt;datenum&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="39px"&gt;createdate&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="39px"&gt;
&lt;P&gt;idcount&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1a&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;India&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;A&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;C&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1234&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;13/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;1022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1b&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;France&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;B&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;D&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1236&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;15/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;1212&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1c&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;Belgium&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;A&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;E&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;KO&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1235&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;14/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;112&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1d&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;Jamaica&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;B&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;F&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1226&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;05/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;1124&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1e&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;Egypt&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;A&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;C&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1227&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;06/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;121&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="25px"&gt;2a&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="25px"&gt;India&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="25px"&gt;D&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="25px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="25px"&gt;1250&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="25px"&gt;19/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="25px"&gt;11&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Connected to a calender table on datenum. week, month and year as key field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the table above I get total as 2234&amp;nbsp;type1 = OK for week06.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I am doing a count of ids when type1 = OK for week06 I get 1 in the table but some other value in KPI when using set analysis: =Count({&amp;lt;type1={'OK'}, Week={06},Year ={2024},Country=,group=,Category=&amp;gt;}item_id) I am getting a different number like 1324.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can some one help me resolve this situation.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2024 13:57:33 GMT</pubDate>
    <dc:creator>UMARTHI</dc:creator>
    <dc:date>2024-02-19T13:57:33Z</dc:date>
    <item>
      <title>KPI Count Value not the same as that in the Table</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Count-Value-not-the-same-as-that-in-the-Table/m-p/2420763#M95658</link>
      <description>&lt;P&gt;I have a table which looks like below:&lt;/P&gt;
&lt;TABLE border="1" width="99.99999999999999%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="39px"&gt;item_id&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="39px"&gt;country&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="39px"&gt;group&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="39px"&gt;category&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="39px"&gt;type1&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="39px"&gt;datenum&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="39px"&gt;createdate&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="39px"&gt;
&lt;P&gt;idcount&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1a&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;India&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;A&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;C&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1234&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;13/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;1022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1b&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;France&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;B&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;D&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1236&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;15/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;1212&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1c&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;Belgium&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;A&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;E&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;KO&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1235&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;14/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;112&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1d&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;Jamaica&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;B&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;F&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1226&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;05/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;1124&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="24px"&gt;1e&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="24px"&gt;Egypt&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="24px"&gt;A&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="24px"&gt;C&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="24px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;1227&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="24px"&gt;06/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="24px"&gt;121&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="15.365853658536585%" height="25px"&gt;2a&lt;/TD&gt;
&lt;TD width="14.878048780487804%" height="25px"&gt;India&lt;/TD&gt;
&lt;TD width="10.198170731707322%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="17.530127114782974%" height="25px"&gt;D&lt;/TD&gt;
&lt;TD width="10.131784770525165%" height="25px"&gt;OK&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="25px"&gt;1250&lt;/TD&gt;
&lt;TD width="7.557596513075966%" height="25px"&gt;19/2/2024&lt;/TD&gt;
&lt;TD width="16.78082191780822%" height="25px"&gt;11&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Connected to a calender table on datenum. week, month and year as key field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the table above I get total as 2234&amp;nbsp;type1 = OK for week06.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I am doing a count of ids when type1 = OK for week06 I get 1 in the table but some other value in KPI when using set analysis: =Count({&amp;lt;type1={'OK'}, Week={06},Year ={2024},Country=,group=,Category=&amp;gt;}item_id) I am getting a different number like 1324.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can some one help me resolve this situation.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 13:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Count-Value-not-the-same-as-that-in-the-Table/m-p/2420763#M95658</guid>
      <dc:creator>UMARTHI</dc:creator>
      <dc:date>2024-02-19T13:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Count Value not the same as that in the Table</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Count-Value-not-the-same-as-that-in-the-Table/m-p/2423217#M95884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149403"&gt;@UMARTHI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given you are expecting a total 2,234, I presume you are thinking that the 13th and 14th Feb are in Week 6?&lt;/P&gt;
&lt;P&gt;What I would suggest is that you add the dimension of Week to the table and check that the relationship between date and week is as you think.&lt;/P&gt;
&lt;P&gt;If it is not, check the parameters of the Week function, with regard to first day of the week. There is also the setting in the SET statement at the start of the load script that can make a difference.&lt;/P&gt;
&lt;P&gt;You could also try adding the KPI expression with the set analysis in it as a new measure in the table. This way you can see which rows the value for that expression appears against.&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2024 16:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Count-Value-not-the-same-as-that-in-the-Table/m-p/2423217#M95884</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2024-02-25T16:22:13Z</dc:date>
    </item>
  </channel>
</rss>

