<?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: Help With Script ,sum of Distinct Charge in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2137074#M658</link>
    <description>&lt;P&gt;Hi, I think the expression could be something like:&amp;nbsp;Sum(Aggr(IF(Index(Concat(TOTAL &amp;lt;ROOM&amp;gt; AC),'CHILD'),0,Sum(DISTINCT CHARGE)),ROOM))&lt;/P&gt;
&lt;P&gt;Maybe it need to add the condition for extra person.&lt;/P&gt;
&lt;P&gt;For a room charge, it will be better to have it precalculated in script so the expression in the front end will be easier and give better performance.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 08:26:38 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2023-11-13T08:26:38Z</dc:date>
    <item>
      <title>Help With Script ,sum of Distinct Charge</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2136943#M656</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If extra person in room is child then charge is zero and remaining adult in room number charge should change to zero ,i need Sum(aggr(sum(distinct(charge )),room number .&amp;nbsp; as required&amp;nbsp; 2nd table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (3).png" style="width: 199px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119754i803DCB07F65915EF/image-dimensions/199x208?v=v2" width="199" height="208" role="button" title="Screenshot (3).png" alt="Screenshot (3).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2136943#M656</guid>
      <dc:creator>sivavasam</dc:creator>
      <dc:date>2024-11-15T21:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Script ,sum of Distinct Charge</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2137074#M658</link>
      <description>&lt;P&gt;Hi, I think the expression could be something like:&amp;nbsp;Sum(Aggr(IF(Index(Concat(TOTAL &amp;lt;ROOM&amp;gt; AC),'CHILD'),0,Sum(DISTINCT CHARGE)),ROOM))&lt;/P&gt;
&lt;P&gt;Maybe it need to add the condition for extra person.&lt;/P&gt;
&lt;P&gt;For a room charge, it will be better to have it precalculated in script so the expression in the front end will be easier and give better performance.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 08:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2137074#M658</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-11-13T08:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Script ,sum of Distinct Charge</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2137079#M659</link>
      <description>&lt;P&gt;Any script level suggesion&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 08:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2137079#M659</guid>
      <dc:creator>sivavasam</dc:creator>
      <dc:date>2023-11-13T08:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Script ,sum of Distinct Charge</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2137085#M660</link>
      <description>&lt;P&gt;Too few info. The objective would by to create a table by room (maybe by and id that identifies the reserve) and the charge associated to that reservation (maybe only for the extra person) so you only need a sum of this RoomCharge&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 08:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Help-With-Script-sum-of-Distinct-Charge/m-p/2137085#M660</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-11-13T08:44:18Z</dc:date>
    </item>
  </channel>
</rss>

