[Fixed]-Unable to group sum value in Django query

1👍

Clear any ordering in the query explicitly:

Resource.objects.values('start_date').annotate(total=Sum('percentage')).order_by()

Please see here for more info on the interference of the default ordering (as mentioned in the comment you got above from @Anentropic)

Leave a comment