I'm not arguing that PivotTables are now useless, because they still solve certain problems very well. However, after seeing how fluid, responsive, and adaptable GROUPBY and PIVOTBY can be, I've found ...
Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.