Categories

XLSX Dynamic Report Builder

Programmatically build dynamic Excel reports with multi-level merged headers, grouped subtotal, and dynamic columns

Build complex report layouts from JSON data. - Multi-level merged headers by header group config - Dynamic column sets for dimensions and metrics - Grouped subtotal rows - Optional grand total row

Example Results

1 examples

Build Grouped Dynamic Report

Build a dynamic report with merged multi-level headers, grouped subtotals, and grand total

xlsx-dynamic-report-builder-example1.xlsx View File
View input parameters
{ "dataJson": "[\n {\n \"region\": \"APAC\",\n \"dept\": \"Sales\",\n \"revenue\": 12000,\n \"cost\": 7200,\n \"profit\": 4800\n },\n {\n \"region\": \"APAC\",\n \"dept\": \"Ops\",\n \"revenue\": 8000,\n \"cost\": 5200,\n \"profit\": 2800\n },\n {\n \"region\": \"EMEA\",\n \"dept\": \"Sales\",\n \"revenue\": 15000,\n \"cost\": 8600,\n \"profit\": 6400\n },\n {\n \"region\": \"EMEA\",\n \"dept\": \"Ops\",\n \"revenue\": 9000,\n \"cost\": 5700,\n \"profit\": 3300\n }\n]", "groupBy": "region", "fixedColumns": "region,dept", "valueColumns": "revenue,cost,profit", "headerGroupsJson": "{\n \"Organization\": [\n \"region\",\n \"dept\"\n ],\n \"Financials\": [\n \"revenue\",\n \"cost\",\n \"profit\"\n ]\n}", "includeGrandTotal": true, "sheetName": "Dynamic Report" }

API Documentation

Request Endpoint

POST /en/api/tools/xlsx-dynamic-report-builder

Request Parameters

Parameter Name Type Required Description
dataJson textarea Yes -
groupBy text No -
fixedColumns text No -
valueColumns text No -
headerGroupsJson textarea No -
includeGrandTotal checkbox No -
sheetName text No -

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-xlsx-dynamic-report-builder": {
      "name": "xlsx-dynamic-report-builder",
      "description": "Programmatically build dynamic Excel reports with multi-level merged headers, grouped subtotal, and dynamic columns",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-dynamic-report-builder",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]