PIVOTBY is great for analysis, but PivotTables still have the edge when formatting needs to adapt to data changes.
Pivot tables still have their place, but I'd rather type one formula for a quick summary.