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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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

Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.