<?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: Salesforce Aggregation Error in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Salesforce-Aggregation-Error/m-p/2479752#M14092</link>
    <description>&lt;P&gt;I am not sure about the connector specifics, but a workaround could be like this .&lt;/P&gt;
&lt;P&gt;LOAD COUNT(Id), Created_From__c GROUP BY Created_From__c;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SELECT Id, Created_From__c FROM &amp;lt;Object Name&amp;gt;__c&amp;nbsp; GROUP BY Created_From__c;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alternatively like this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SF: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SELECT Id, Created_From__c FROM &amp;lt;Object Name&amp;gt;__c&amp;nbsp; GROUP BY Created_From__c;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FINAL: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOAD COUNT(Id), Created_From__c RESIDENT SF GROUP BY Created_From__c;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DROP TABLE SF:&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2024 05:40:37 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2024-09-05T05:40:37Z</dc:date>
    <item>
      <title>Salesforce Aggregation Error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Salesforce-Aggregation-Error/m-p/2479734#M14090</link>
      <description>&lt;P&gt;I'm getting the following error when trying to execute a Salesforce query:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Connector reply error: Unable to get column information for the fields that are used in the query. Please make sure you have only one SELECT statement in a query editor. Description: Aggregate functions are not supported by the connector.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm using the SOAP option, but still getting the error above. My query is something like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SELECT COUNT(Id), Created_From__c FROM &amp;lt;Object Name&amp;gt;__c&amp;nbsp; GROUP BY Created_From__c;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I can execute the query if I remove the aggregation.&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;Salesforce connector version: 15.212.0&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Sep 2024 01:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Salesforce-Aggregation-Error/m-p/2479734#M14090</guid>
      <dc:creator>KHSDM</dc:creator>
      <dc:date>2024-09-05T01:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Aggregation Error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Salesforce-Aggregation-Error/m-p/2479752#M14092</link>
      <description>&lt;P&gt;I am not sure about the connector specifics, but a workaround could be like this .&lt;/P&gt;
&lt;P&gt;LOAD COUNT(Id), Created_From__c GROUP BY Created_From__c;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SELECT Id, Created_From__c FROM &amp;lt;Object Name&amp;gt;__c&amp;nbsp; GROUP BY Created_From__c;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alternatively like this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SF: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SELECT Id, Created_From__c FROM &amp;lt;Object Name&amp;gt;__c&amp;nbsp; GROUP BY Created_From__c;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FINAL: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOAD COUNT(Id), Created_From__c RESIDENT SF GROUP BY Created_From__c;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DROP TABLE SF:&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 05:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Salesforce-Aggregation-Error/m-p/2479752#M14092</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-09-05T05:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Aggregation Error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Salesforce-Aggregation-Error/m-p/2480102#M14105</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;
&lt;P&gt;Thanks for the suggestion. But we prefer to do the aggregation in SF as the original dataset is quite huge. So, we wanted SF to summarize the data before to extract it.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 09:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Salesforce-Aggregation-Error/m-p/2480102#M14105</guid>
      <dc:creator>KHSDM</dc:creator>
      <dc:date>2024-09-06T09:08:41Z</dc:date>
    </item>
  </channel>
</rss>

