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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors