GlideAggregate query on the exact same table returning 2 different results

Does anyone have any idea why the exact same GlideAggregate query on the exact same table would return 2 different results? For context, this is the server side script of a custom widget, the first time the script runs it works fine, the second it doesn’t

Check what is in your data. and see if it changed between the first and second try

My group_by fields had changed on me, thank you!!

That would do it :slightly_smiling_face: