Hi,
We already tried this way but it doesn't work.
Is there any other way ?
Additionally, we want to handle this from VBA.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How can we remove the automatic sorting from the pivot table ?
I have some raw data and when I convert it into pivot table, it automatically changes the order of some fields. How to prevent this ?
PFA
As you can see it changed the order of time[row field] automatically. I want the order to be maintained as it was.
How can we achieve this ?
We know it can be achieved by inserting new helpers column but is there any alternative ?
We want to modify only the raw source data without affecting other data. Since this method add and delete columns, it will definitely result in data loss, which we want to avoid.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi,
We already tried this way but it doesn't work.
Is there any other way ?
Additionally, we want to handle this from VBA.
Hi
Those are the only two sort options.
Here's the code for VBA: https://www.codevba.com/excel/pivottable/fieldlistsortascending.htm