get_twbx_lod_expressions
Parses Tableau workbook LOD expressions, generating plain-English explanations of what each calculation does and categorizing common patterns to help you understand and learn from complex formulas.
Instructions
Extracts and explains Level of Detail (LOD) expressions from a Tableau workbook. LOD expressions ({FIXED}, {INCLUDE}, {EXCLUDE}) are powerful but complex calculations. This tool parses each LOD, provides human-readable explanations of what they do, categorizes them by common patterns (percent of total, customer cohort, etc.), and includes learning resources. Ideal for understanding and learning from existing LOD calculations. Use with the mainTwbPath from unpack_twbx output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| twbFilePath | Yes | ||
| includeUsageContext | Yes |