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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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