Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
manavnayak
Frequent Visitor

Data Wrangler Aggregation does not work properly for Spark Data Frames

Hi Team,

 

When we are creating a Spark Data Frame and open Data Wrangler and if we try to add "Group by and aggregate" operation under "aggregation" 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. count, first value, last value, number of distinct values and mode.


I think this is a bug. I hope you are able to understand the issue.

 

manavnayak_0-1720513864846.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @manavnayak ,

 

I tried to reproduce your error, and my environment is as shown below:

vhuijieymsft_0-1720668340628.png

 

After I run the cell, I open Data Wrangler and use the Group by and aggregate options.

vhuijieymsft_1-1720668340639.png

 

When the data type is numeric, all options are displayed, including sum, max, min, etc. in addition to your options.

vhuijieymsft_2-1720668355725.png

vhuijieymsft_3-1720668355728.png

 

I reproduce your error when the data type is text.

vhuijieymsft_4-1720668365906.png

vhuijieymsft_5-1720668365908.png

 

So I think your error is caused by incorrect value type.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

2 REPLIES 2
manavnayak
Frequent Visitor

Hi @Anonymous understood.

Thank you for providing detailed explanation fro the same.

Anonymous
Not applicable

Hi @manavnayak ,

 

I tried to reproduce your error, and my environment is as shown below:

vhuijieymsft_0-1720668340628.png

 

After I run the cell, I open Data Wrangler and use the Group by and aggregate options.

vhuijieymsft_1-1720668340639.png

 

When the data type is numeric, all options are displayed, including sum, max, min, etc. in addition to your options.

vhuijieymsft_2-1720668355725.png

vhuijieymsft_3-1720668355728.png

 

I reproduce your error when the data type is text.

vhuijieymsft_4-1720668365906.png

vhuijieymsft_5-1720668365908.png

 

So I think your error is caused by incorrect value type.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.