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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
MalvikaBhasin
Helper III
Helper III

Group By Option

Hi,

 

Not sure why my Group By option is giving error. Both data and formula as below:

Data.JPG

 

 

Subgroup.JPG

 

 

 

Regards

Malvika

1 ACCEPTED SOLUTION

Hi @MalvikaBhasin ,

 

The error message shows the type of Profit column is not Number, Please add a step of changing Profit column to Number type before using Sum of Group By step.

vmengmlimsft_0-1722928771759.png

 

Please select one number type you want. I suggest you try whole number firstly.

vmengmlimsft_1-1722928881830.png

 

 

Best regards,

Mengmeng Li

View solution in original post

3 REPLIES 3
v-mengmli-msft
Community Support
Community Support

Hi @MalvikaBhasin ,

 

The Sum of GroupBy just supports number, your ‘Order ID’ column is text type. Could you please show more details about your requirements about the first GroupBy step?

 

If you want to show count of table in ‘CountNew’ column, I suggest you use Count Rows in Operation as follows.

vmengmlimsft_0-1722842509045.png

 

 

Best regards,

Mengmeng Li

Hi,

 

Below is Group by option that I used, and Group By Error that is generated.

Kindly suggest on how to solve this. 

 

Groupby.JPG

 

Groupby error.JPG

 

Regards

Malvika

Hi @MalvikaBhasin ,

 

The error message shows the type of Profit column is not Number, Please add a step of changing Profit column to Number type before using Sum of Group By step.

vmengmlimsft_0-1722928771759.png

 

Please select one number type you want. I suggest you try whole number firstly.

vmengmlimsft_1-1722928881830.png

 

 

Best regards,

Mengmeng Li

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.