Hi Support ,
I am trying to do Multilevel Grouping in excel but my scenario looks different for regular grouping I use a template and load the values on to the template ,so what ever the values got loaded needs to grouped according to that . Attached my Template and Report screenshots what I am getting and pasted some part of my code
public static void ExportTATReport()
{
Workbook wb = new Workbook(template);
Worksheet sheet = wb.Worksheets[0];
// Initialize WorkbookDesigner object
WorkbookDesigner designer = new WorkbookDesigner();
// Load the template file
designer.Workbook = wb;
using (SOConnection connDB = GetDBConn())
{
// Get the main report statictical data
LogMessage("Getting the main stats...");
DataTable stats = GetStatistics(connDB, _strTAT);
TATSummaryDetails _tatSummary = new TATSummaryDetails();
DataTable dt = PopulateGroupHeaders(stats, _tatSummary);
dt.TableName = "WorkflowStats";
}
TemplateGrouping.jpeg (71.7 KB)
Grouping.jpeg (141.4 KB)