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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| twbFilePath | Yes | ||
| includeSourceFields | Yes |