<?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 Group By Sum Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983719#M81163</link>
    <description>&lt;P&gt;If you group also by year in that table is like no grouping, it will be the same as "&lt;SPAN&gt;Sum([Estimated Rating Time])/ sum(NumberofResults)".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try to get a lower amount of data to compare the values of the sql and qlik row by row, maybe the datamodel in Qlik is not using the same row values as they are in database&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 13:52:24 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2022-09-21T13:52:24Z</dc:date>
    <item>
      <title>How to Group By Sum Expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983670#M81156</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to group By [TaskType] on the below Syntax but unsure how to write it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum([Estimated Rating Time])/ sum(NumberofResults)&lt;/P&gt;
&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983670#M81156</guid>
      <dc:creator>jamiemcc</dc:creator>
      <dc:date>2022-09-21T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By Sum Expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983677#M81158</link>
      <description>&lt;P&gt;Hi, this is on chart expression? If it's for a table with other dimensions and you want to ignore dimesnions and group on the upper level you can use total:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum(TOTAL &amp;lt;[TaskType]&amp;gt;[Estimated Rating Time])/ sum(TOTAL &amp;lt;[TaskType]&amp;gt;NumberofResults)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983677#M81158</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-09-21T13:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By Sum Expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983702#M81160</link>
      <description>&lt;P&gt;Hi Rob,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp; - Yes this is a pivot table where I want to show when the ERT changes throughout the month.&lt;/P&gt;
&lt;P&gt;My only Concern is I should be getting a result of 300 for Sept and Aug for the Task Type I'm selecting but getting below,&lt;/P&gt;
&lt;P&gt;Am I missing something?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jamiemcc_1-1663766439286.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89551iC291A66AA5EE1108/image-size/large?v=v2&amp;amp;px=999" role="button" title="jamiemcc_1-1663766439286.png" alt="jamiemcc_1-1663766439286.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;SELECT Sum(`Estimated Rating Time`)/sum(NumberOfResults) FROM liox_dp_bus.vwDetailedPayments where TaskType - 'Photo Search Satisfaction' and FinishTime between '2022-08-01 00:00:00' and '2022-09-30 23:59:59'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the database the query above shows 300.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983702#M81160</guid>
      <dc:creator>jamiemcc</dc:creator>
      <dc:date>2022-09-21T13:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By Sum Expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983708#M81161</link>
      <description>&lt;P&gt;Using total will ignore all dimensions, if you select Sep-2022 and Aug-2022 from the monthyear field it should return the same as the SQL. Without seleceting anything it is calculating the value tor the tasktype using all the MonthYear values&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983708#M81161</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-09-21T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By Sum Expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983714#M81162</link>
      <description>&lt;P&gt;Hi Rob,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I select those values it returns 152.1 - Do I need to Group by Monthyear in my calculation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like its not taking the month into Consideration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983714#M81162</guid>
      <dc:creator>jamiemcc</dc:creator>
      <dc:date>2022-09-21T13:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By Sum Expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983719#M81163</link>
      <description>&lt;P&gt;If you group also by year in that table is like no grouping, it will be the same as "&lt;SPAN&gt;Sum([Estimated Rating Time])/ sum(NumberofResults)".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try to get a lower amount of data to compare the values of the sql and qlik row by row, maybe the datamodel in Qlik is not using the same row values as they are in database&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Group-By-Sum-Expression/m-p/1983719#M81163</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-09-21T13:52:24Z</dc:date>
    </item>
  </channel>
</rss>

