Does anyone know how to create a pivot table in Google Sheets using Google Apps Script? This topic was raised earlier, but everything I saw was older than a year before Google Sheets even had pivot table functionality.
I can accomplish what I need using the query function, but pivot tables make it easier.
source share