Hi Jhon,
We have tested the reported
issue using the sample we previously shared with you in a different forum and
with the specified version (28.1.33). However, we were unable to replicate the
reported problem on our end. The pivot table functions as expected without
throwing any script errors. For your reference, we are sharing the sample we
used for testing. You can access it using the link below.
Sample: hBsfqmf (forked) - StackBlitz
Output screenshot:

Additionally, if the issue persists, please try to replicate the reported
issue using the provided sample or share a dummy runnable sample that
reproduces the issue. Alternatively, you can provide a code example that
illustrates the issue. Providing this information will enable us to examine the
reported problem on our side and provide a solution as quickly as we can.
Regards,
Sridhar Karunakaran