<?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 do I sum this condition? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033641#M1289053</link>
    <description>&lt;P&gt;Can you explain how you are getting these numbers and how do you want to sum them?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 04:38:19 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2023-02-03T04:38:19Z</dc:date>
    <item>
      <title>How do I sum this condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033628#M1289052</link>
      <description>&lt;P&gt;I want to sum AmpH from Date Out starting at 05:00:00 AM of the first day to 05:00:00 AM of the next day.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Paknanarn23_0-1675397660416.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/99606iE0D8D319470ACDEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Paknanarn23_0-1675397660416.png" alt="Paknanarn23_0-1675397660416.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033628#M1289052</guid>
      <dc:creator>Paknanarn23</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I sum this condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033641#M1289053</link>
      <description>&lt;P&gt;Can you explain how you are getting these numbers and how do you want to sum them?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 04:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033641#M1289053</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-02-03T04:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I sum this condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033643#M1289054</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A id="link_14" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949" target="_self" aria-label="View Profile of tresesco" aria-describedby="userProfileCard-22949"&gt;&lt;SPAN class="login-bold"&gt;Tresesco&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I got this sum from Database, it's a value fetched from Database at all.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;where I want to sum the Amph values ​​from Date Out 5:00 AM of the first selected date to 5:00 AM of the last selected date.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 04:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033643#M1289054</guid>
      <dc:creator>Paknanarn23</dc:creator>
      <dc:date>2023-02-03T04:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I sum this condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033645#M1289055</link>
      <description>&lt;P&gt;I am still not clear about your 5 a.m. part. Could you explain with a selection case?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 04:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033645#M1289055</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-02-03T04:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I sum this condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033647#M1289056</link>
      <description>&lt;P&gt;It's not a choice. But it is a condition for sum(AmpH) that if the time is 5am, sum(ampH) will come out in each Cu Tank&lt;/P&gt;
&lt;P&gt;For example, if CU TANK = 26, you will get this value.&lt;/P&gt;
&lt;P&gt;The time will start from 6am on January 30, 2023 until 4am on January 31, 2023&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023_02_03_11_55_21_Microsoft_Excel_AmpH.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/99613i4F6B6B888A5BB61A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023_02_03_11_55_21_Microsoft_Excel_AmpH.png" alt="2023_02_03_11_55_21_Microsoft_Excel_AmpH.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 04:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033647#M1289056</guid>
      <dc:creator>Paknanarn23</dc:creator>
      <dc:date>2023-02-03T04:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I sum this condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033745#M1289057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/186483"&gt;@Paknanarn23&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use this to get 1 date for all values between 05:00:00 this day and 05:00:00 the next day. If the date is later then 12:00:00 PM then it will substract 1 day for the timestamps before 05:00:00.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;TIMESTAMP(DATE(IF(TIME(DATE_OUT-DAYSTART(DATE_OUT))&amp;gt;=TIME('05:00:00') ,DAYSTART(DATE_OUT),DAYSTART(DATE_OUT)-1),'DD-MM-YYYY')+TIME('05:00:00'),'M/DD/YYYY h:mm:ss TT') AS GroupByDate&lt;/LI-CODE&gt;
&lt;P&gt;This is the result:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avkeep01_0-1675415136797.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/99627iFCDF7C665C900F85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avkeep01_0-1675415136797.png" alt="avkeep01_0-1675415136797.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 09:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-sum-this-condition/m-p/2033745#M1289057</guid>
      <dc:creator>avkeep01</dc:creator>
      <dc:date>2023-02-03T09:06:18Z</dc:date>
    </item>
  </channel>
</rss>

