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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Groupby... Error: We couldnt convert to Number

I have 9 columns. 1 is a Date, 8 are Text

 

I am doing a Groupby.  Groupby 1 Column... Date, and it is a Count Rows

 

i keep getting DataFormatError: We couldnt convert to Number. Details: n/a

 

i feel like it is a bug, but cant figure how to get around it.  any suggestions. (i have tried to Groupby other columns as a test and I get same issue)

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

My guess is that there are records in the aggregated columns that are n/a.

vcgaomsft_0-1689039178596.png

when groupby.

vcgaomsft_1-1689039220194.png

vcgaomsft_2-1689039244450.png

The easiest way to do this is to replace n/a with null before grouping.

vcgaomsft_4-1689039626145.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

My guess is that there are records in the aggregated columns that are n/a.

vcgaomsft_0-1689039178596.png

when groupby.

vcgaomsft_1-1689039220194.png

vcgaomsft_2-1689039244450.png

The easiest way to do this is to replace n/a with null before grouping.

vcgaomsft_4-1689039626145.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

ronrsnfld
Super User
Super User

Please post a copy of your data (can be made up data) that illustrates your problem, along with a copy of the code generated in the "Advanced Editor". Please copy/paste as text so we don't have to manually type in data from a screenshot.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.