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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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

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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

Top Solution Authors
Top Kudoed Authors