<?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 Data Wrangler Aggregation does not work properly for Spark Data Frames in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Data-Wrangler-Aggregation-does-not-work-properly-for-Spark-Data/m-p/4032085#M2917</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we are creating a Spark Data Frame and open Data Wrangler and if we try to add "&lt;STRONG&gt;Group by and aggregate&lt;/STRONG&gt;" operation under "&lt;STRONG&gt;aggregation&lt;/STRONG&gt;" section when we select a particular column it does not show all the aggregation options for the selected column. It just shows 5 aggregations i.e. &lt;STRONG&gt;count, first value, last value, number of distinct values and mode&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think this is a bug. I hope you are able to understand the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 08:36:25 GMT</pubDate>
    <dc:creator>manavnayak</dc:creator>
    <dc:date>2024-07-09T08:36:25Z</dc:date>
    <item>
      <title>Data Wrangler Aggregation does not work properly for Spark Data Frames</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Data-Wrangler-Aggregation-does-not-work-properly-for-Spark-Data/m-p/4032085#M2917</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we are creating a Spark Data Frame and open Data Wrangler and if we try to add "&lt;STRONG&gt;Group by and aggregate&lt;/STRONG&gt;" operation under "&lt;STRONG&gt;aggregation&lt;/STRONG&gt;" section when we select a particular column it does not show all the aggregation options for the selected column. It just shows 5 aggregations i.e. &lt;STRONG&gt;count, first value, last value, number of distinct values and mode&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think this is a bug. I hope you are able to understand the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 08:36:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Data-Wrangler-Aggregation-does-not-work-properly-for-Spark-Data/m-p/4032085#M2917</guid>
      <dc:creator>manavnayak</dc:creator>
      <dc:date>2024-07-09T08:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data Wrangler Aggregation does not work properly for Spark Data Frames</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Data-Wrangler-Aggregation-does-not-work-properly-for-Spark-Data/m-p/4036011#M2954</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="772494" data-lia-user-login="manavnayak" class="lia-mention lia-mention-user"&gt;manavnayak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to reproduce your error, and my environment is as shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After I run the cell, I open Data Wrangler and use the Group by and aggregate options.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the data type is numeric, all options are displayed, including sum, max, min, etc. in addition to your options.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I reproduce your error when the data type is text.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I think your error is caused by incorrect value type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 03:27:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Data-Wrangler-Aggregation-does-not-work-properly-for-Spark-Data/m-p/4036011#M2954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-11T03:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data Wrangler Aggregation does not work properly for Spark Data Frames</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Data-Wrangler-Aggregation-does-not-work-properly-for-Spark-Data/m-p/4036213#M2958</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;understood.&lt;/P&gt;&lt;P&gt;Thank you for providing detailed explanation fro the same.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 05:36:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Data-Wrangler-Aggregation-does-not-work-properly-for-Spark-Data/m-p/4036213#M2958</guid>
      <dc:creator>manavnayak</dc:creator>
      <dc:date>2024-07-11T05:36:43Z</dc:date>
    </item>
  </channel>
</rss>

