Apache POI : Excel Pivot Table - Row Label
问题 I have a requirement to create a excel sheet in JAVA as below : I am not able to create a row label with multiple columns side by side ( menus and submenus filter ). Instead of displaying the submenu in different column, its coming under the menu column. Below is the piece of code which i have written : XSSFSheet sheet = my_xlsx_workbook.getSheetAt(0); AreaReference a=new AreaReference("A1:G7"); CellReference b=new CellReference("I5"); XSSFPivotTable pivotTable = sheet.createPivotTable(a,b);