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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

DataFormat.Error MSO

All,

 

Need some help on a strange error I'm getting.

I have data imported from CSV file and want to group the data.

The grouping returns below error

 

PeterRijen_0-1680783266508.png

My code has been running for over past 2 years without any issues and my input file is (as far as I can see) not corrupted.

During troubleshooting it appears that the problem seems to be related to the Key type of the grouping statement.

In below example:

Case "Priority" type is text -> no error

Case "Priority" type is Int64.Type or number-> DataFormat.Error

 

Table.Group(#"Changed Type1", {"ID", "Priority"}, {{"Duration", each List.Sum([#"Duration"]), type nullable number}})

 

Hope you can help me out.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Does your CSV data contain a cell in the Priority column with the value "MSO" ?

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi Ibendlin,

Double checked and indeed MSO was added at the end of the file as a new Priority.

Bit stupid that I did not check this. Was interpreting MSO as Microsoft Office.

Thanks for helping out.

lbendlin
Super User
Super User

Does your CSV data contain a cell in the Priority column with the value "MSO" ?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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