When a pivot table field (aka column) is hidden, it would make a lot of sense to also flatten the hierarchy, i.e. sorting should no longer happen inside the hidden groups.
Hi @Gabriel_R,
Could you please elaborate a bit on your use case? If you want to remove the hierarchy, then you could simply remove the field from the rows section in the field wells. Also to ensure that we are talking about the same, you are referring to hiding fields in the pivot tables rows section, right?
Depending on your use case, if sorting by your value column without grouping of dimensional fields is your primary goal, a regular Table visual might be the better fit.