Internal function to export hierarchical pivot tables to Excel with formatted headers.
export_hierarchy_to_excel(pivot_df, file_path, xlsx_filename = NULL)
Invisibly returns NULL.
A hierarchical pivot object created by pivot_data_hierarchy().
Character. The file path for Excel export.
Character. The name for the Excel file when using multi_sheet_xlsx. If NULL, uses the name of the dataset. Default is NULL
.