Forum Discussion
Visual calculation: running sum - sorting issue
That is the formular for running sum
My visual is sorted like this (based on Sales):
However, as soon as I enter the visual calculation area, it automatically ignores the sorting of the table and just takes the alphabetical order of my category (Customer):
- jeroenterheerdt2 years agoMicrosoft Employee
it's not a bug, it's how it was implemented right now. What do you expect? Do you want the visual matrix to _always_ be sorted on whatever is the visual?
- Anonymous2 years agoNot applicable
Unless specified otherwise with PARTITIONBY or ORDERBY, yes!
- jeroenterheerdt2 years agoMicrosoft Employee
thanks for letting me know. What about the sort order from the model? And how about functions that don't have the ORDERBY and PARTITIONBY parameter, like RUNNINGSUM?
- lbendlin2 years agoSuper User
it's not a bug, it's how it was implementedthat means the implementation was buggy 🙂
- jeroenterheerdt2 years agoMicrosoft Employee
no, that was intentional. It follows the model sort order, such a sorting columns. Just blindly following the sort order of the visual is not the only choice.