get_twbx_calculation_dependencies
Map calculation dependencies in Tableau workbooks to reveal hierarchy, root/leaf calculations, and circular dependencies for understanding complex chains.
Instructions
Builds a dependency graph showing which calculations depend on which in a Tableau workbook. Shows calculation hierarchy with depth levels, identifies root calculations (depend only on source fields), leaf calculations (nothing depends on them), and detects circular dependencies. Includes an ASCII tree visualization. Ideal for understanding complex calculation chains. Use with the mainTwbPath from unpack_twbx output.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"twbFilePath": "<twbFilePath>",
"includeSourceFields": "<includeSourceFields>"
},
"name": "get_twbx_calculation_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| twbFilePath | Yes | ||
| includeSourceFields | Yes |