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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
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!

manavnayak
Frequent Visitor

Hi @Anonymous understood.

Thank you for providing detailed explanation fro the same.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (25)