This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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
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.
Solved! Go to Solution.
Does your CSV data contain a cell in the Priority column with the value "MSO" ?
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.
Does your CSV data contain a cell in the Priority column with the value "MSO" ?
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.