<?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: How to show the calculations in the simple Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517421#M105915</link>
    <description>&lt;P&gt;Hi Rubenmarin,&lt;/P&gt;&lt;P&gt;Thanks , i really need help in this , i have tried multiple things to get data in the table.&lt;/P&gt;&lt;P&gt;when i run the script and see the values of 1b and 1c i got the value 1 for each .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1b-&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=12/31/2022"}, [Del On Flag]={N},[PO Release&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date]={"&amp;gt;=1/2/2023"}&amp;gt;}[P Release Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;we have data of month dec has 3 rows but 1 is eligible for the set expression&lt;/P&gt;&lt;P&gt;12/21/2022 0:00, -, 1/18/2023 ----------------------------------------this one is fulfil the above set analysis&amp;nbsp;&lt;BR /&gt;12/23/2022 0:00, 2/27/2023, -&lt;BR /&gt;12/27/2022 0:00, -, -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1c-&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Deleted On]={"&amp;gt;=1/1/2023"},[PO LI&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RelDT Flag]={"N"}&amp;gt;}[P Release Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;12/21/2022 0:00, -, 1/18/2023&amp;nbsp;&lt;BR /&gt;12/23/2022 0:00, 2/27/2023, -&amp;nbsp; &amp;nbsp;----------------------------------------this one is fulfil the above set analysis&amp;nbsp;&lt;BR /&gt;12/27/2022 0:00, -, -&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;My expected result should be like this in table&amp;nbsp; :(dec calculations i have not try in KPI but other months values are accurate)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can we do these calculations in set analysis or do in the load editor?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have created a table here but it gave me HTML error and changes values like below vertically.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MonthStart&lt;/P&gt;&lt;P&gt;Cal 1a&lt;/P&gt;&lt;P&gt;Cal 1b&lt;/P&gt;&lt;P&gt;Cal 1c&lt;/P&gt;&lt;P&gt;Cal 1d&lt;/P&gt;&lt;P&gt;sum 1a-1d&lt;/P&gt;&lt;P&gt;Cal 2&lt;/P&gt;&lt;P&gt;dec 2022&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;Jan 2023&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;Feb 2023&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;Mar 2023&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;</description>
    <pubDate>Sat, 10 May 2025 15:23:37 GMT</pubDate>
    <dc:creator>Sara_3</dc:creator>
    <dc:date>2025-05-10T15:23:37Z</dc:date>
    <item>
      <title>How to show the calculations in the simple Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517388#M105911</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I really need help !&lt;/P&gt;&lt;P&gt;I am pulling the data from the excel sheet but here i am creating the inline table as a sample data. my actual data is from 2019 till 2024.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected data of Jan 2023:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jan 2023 :&amp;nbsp; Cal 1a = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;, Cal 1b = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cal 1c = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cal 1d = 0 ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final cal sum of 1a- 1d = 3 ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cal 2 = 9&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirements :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My requirement are consist of 2 calculations and the first 1 is consist of sum of 4 calculations by month. I have created the following set analysis of &lt;STRONG&gt;&lt;FONT color="#000000"&gt;these calculations with static dates but dont know how to do dynamically in table.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calculation 1: for example Jan 2023:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1-a:&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Del On Flag]={N},[PO LI RelDT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Flag]={N}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1- b:&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=12/31/2022"}, [Del On Flag]={N},[PO Release&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date]={"&amp;gt;=1/2/2023"}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1-c:&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Deleted On]={"&amp;gt;=1/1/2023"},[PO LI&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RelDT Flag]={"N"}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1-d:&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Deleted On]={"&amp;gt;=1/1/2023"},[PO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Release Date]={"&amp;gt;=1/1/2023"}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calculation 2: for example Jan 2023:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;[P Release Date]= {"&amp;gt;=1/1/2023&amp;lt;=1/31/2023"}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;===========================================================================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have tried the following code in script for first calculation&amp;nbsp; but did not work as expected and dont know how to do second calculation:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;STRONG&gt;main:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;LOAD *&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,if([PR Released 1/0] = 1&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; and(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ("Del On Flag" = 0&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; and&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ("PO LI RelDT Flag" = 'N'&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[PO Released 1/0] = 1&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ([PR Deleted 1/0] = 1&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; and&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ("PO LI RelDT Flag" = 'N'&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[PO Released 1/0] = 1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,1,0) AS [Count PR as Open 1/0]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;;&lt;/DIV&gt;&lt;DIV&gt;LOAD *&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,if([P Release Date]&amp;lt;=[MonthStart]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; and&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not isnull([P Release Date])&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,1,0) AS [PR Released 1/0]&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ,if([Deleted On]&amp;gt;=[MonthStart]&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; and&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not isnull([Deleted On])&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,1,0) AS [PR Deleted 1/0]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ,if([PO Release Date]&amp;gt;=[MonthStart]&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; and&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not isnull([PO Release Date])&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,1,0) AS [PO Released 1/0]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;;&lt;/DIV&gt;&lt;DIV&gt;Load&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; 1 as rowCount,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(date(Date#("Deleted On", 'MM/DD/YYYY')) &amp;gt; 0 ,'Y','N') as "Del On Flag",&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(date(Date#("PO Release Date",'MM/DD/YYYY')) &amp;gt; 0 ,'Y','N') as "PO LI RelDT Flag",&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Date(Date#([P Release Date], 'M/D/YYYY h:mm'), 'MM/DD/YYYY') as [P Release Date],&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Date(Date#([Deleted On], 'MM/DD/YYYY')) as [Deleted On],&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Date(Date#([PO Release Date], 'MM/DD/YYYY')) as [PO Release Date],&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;monthstart((Date#([PO Release Date], 'MM/DD/YYYY'))) as [MonthStart];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//Sample data&lt;/DIV&gt;&lt;P&gt;load * inline [&lt;BR /&gt;P Release Date, Deleted On, PO Release Date&lt;BR /&gt;12/21/2022 0:00, -, 1/18/2023&lt;BR /&gt;12/23/2022 0:00, 2/27/2023, -&lt;BR /&gt;12/27/2022 0:00, -, -&lt;BR /&gt;1/4/2023 0:00, 1/24/2023, -&lt;BR /&gt;1/4/2023 0:00, -, 1/17/2023&lt;BR /&gt;1/4/2023 0:00, -, 2/28/2023&lt;BR /&gt;1/4/2023 0:00, -, 11/30/2023&lt;BR /&gt;1/6/2023 0:00, -, 2/9/2023&lt;BR /&gt;1/6/2023 0:00, -, 2/16/2024&lt;BR /&gt;1/11/2023 0:00, 5/10/2023, -&lt;BR /&gt;1/17/2023 0:00, 3/17/2023, -&lt;BR /&gt;1/17/2023 0:00, -, 4/11/2023&lt;BR /&gt;2/2/2023 0:00, -, 2/7/2023&lt;BR /&gt;2/2/2023 0:00, -, 6/21/2023&lt;BR /&gt;2/6/2023 0:00, 6/6/2023, -&lt;BR /&gt;2/15/2023 0:00, 9/11/2023, -&lt;BR /&gt;2/15/2023 0:00, -, 3/14/2024&lt;BR /&gt;3/2/2023 0:00, -, 5/3/2023&lt;BR /&gt;3/2/2023 0:00, -, 8/16/2023&lt;BR /&gt;3/2/2023 0:00, -, 9/22/2023&lt;BR /&gt;3/6/2023 0:00, -, 1/2/2024&lt;BR /&gt;3/30/2023 0:00, 4/11/2023, -&lt;BR /&gt;3/30/2023 0:00, 6/7/2023, -&lt;BR /&gt;3/30/2023 0:00, 8/7/2023, -&lt;BR /&gt;3/30/2023 0:00, -, 4/20/2023&lt;BR /&gt;3/30/2023 0:00, -, 8/29/2023&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sara.&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 04:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517388#M105911</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-05-10T04:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the calculations in the simple Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517409#M105914</link>
      <description>&lt;P&gt;Hi, with that data the result of b and c is 0, there is only one row with&amp;nbsp;&lt;SPAN&gt;[P Release Date]={"&amp;lt;=1/1/2023"},a and that row doesn't has any value on [PO Release Date] or [Deleted On].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In&amp;nbsp;&lt;A href="https://community.qlik.com/t5/App-Development/how-to-do-the-static-dates-into-dynamic-in-set-analysis-or-load/td-p/2517389" target="_blank"&gt;https://community.qlik.com/t5/App-Development/how-to-do-the-static-dates-into-dynamic-in-set-analysis-or-load/td-p/2517389&lt;/A&gt; I have added an answer on how to make it dynamic.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 08:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517409#M105914</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-05-10T08:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the calculations in the simple Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517421#M105915</link>
      <description>&lt;P&gt;Hi Rubenmarin,&lt;/P&gt;&lt;P&gt;Thanks , i really need help in this , i have tried multiple things to get data in the table.&lt;/P&gt;&lt;P&gt;when i run the script and see the values of 1b and 1c i got the value 1 for each .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1b-&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=12/31/2022"}, [Del On Flag]={N},[PO Release&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date]={"&amp;gt;=1/2/2023"}&amp;gt;}[P Release Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;we have data of month dec has 3 rows but 1 is eligible for the set expression&lt;/P&gt;&lt;P&gt;12/21/2022 0:00, -, 1/18/2023 ----------------------------------------this one is fulfil the above set analysis&amp;nbsp;&lt;BR /&gt;12/23/2022 0:00, 2/27/2023, -&lt;BR /&gt;12/27/2022 0:00, -, -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1c-&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Deleted On]={"&amp;gt;=1/1/2023"},[PO LI&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RelDT Flag]={"N"}&amp;gt;}[P Release Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;12/21/2022 0:00, -, 1/18/2023&amp;nbsp;&lt;BR /&gt;12/23/2022 0:00, 2/27/2023, -&amp;nbsp; &amp;nbsp;----------------------------------------this one is fulfil the above set analysis&amp;nbsp;&lt;BR /&gt;12/27/2022 0:00, -, -&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;My expected result should be like this in table&amp;nbsp; :(dec calculations i have not try in KPI but other months values are accurate)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can we do these calculations in set analysis or do in the load editor?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have created a table here but it gave me HTML error and changes values like below vertically.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MonthStart&lt;/P&gt;&lt;P&gt;Cal 1a&lt;/P&gt;&lt;P&gt;Cal 1b&lt;/P&gt;&lt;P&gt;Cal 1c&lt;/P&gt;&lt;P&gt;Cal 1d&lt;/P&gt;&lt;P&gt;sum 1a-1d&lt;/P&gt;&lt;P&gt;Cal 2&lt;/P&gt;&lt;P&gt;dec 2022&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;Jan 2023&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;Feb 2023&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;Mar 2023&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 15:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517421#M105915</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-05-10T15:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the calculations in the simple Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517425#M105917</link>
      <description>&lt;P&gt;Hi, you right, b and c is one, I had a date format issue.&lt;/P&gt;&lt;P&gt;About the question, if you have a date as dimension, and you want to apply each dimension value to the expression, then you can't use set anaysis with dynamic dates, as it is expanded and applied before the dimension valus are calculated, in that case you will need to use Aggr() and or 'If' to make comparisons, like:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;Count({&amp;lt;[Del On Flag]={N},[PO LI RelDT Flag]={N}&amp;gt;} If([P Release Date]&amp;lt;=YearMonth, [P Release Date]))&lt;/P&gt;&lt;P&gt;-&amp;nbsp;Count({$&amp;lt;[Del On Flag]={N}&amp;gt;} If([P Release Date]&amp;lt;=YearMonth and [PO Release Date]&amp;gt;=AddMonths(YearMonth,1),[P Release Date]))&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2025 08:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517425#M105917</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-05-11T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the calculations in the simple Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517429#M105918</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response, i have tried an rangesum , Aggr() and or if statements too in set analysis but did not get the expected result. the above set expressions you mentioned gave me the 0 values. i am pretty sure we need to do this calculation i load editor where we comparison the dates data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know how to handle these calculations in load editor?&lt;/P&gt;&lt;P&gt;Sara.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2025 23:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-the-calculations-in-the-simple-Table/m-p/2517429#M105918</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-05-11T23:55:22Z</dc:date>
    </item>
  </channel>
</rss>

