Export Excel with pivot table using EasyXLS library! XLS, XLSX, XLSM, XLSB file in .NET. https://www.easyxls.com/manual/tutorials/csharp/create-excel-pivot-table.html