AGENT SKILL

bi-tableau-calculations-lods

Design enterprise Tableau data models utilizing FIXED, INCLUDE, and EXCLUDE Level of Detail expressions for complex cohort, market basket, and benchmark analytics.

License 许可
MIT
最近更新
2026-11-09
Stars
★ 0
Forks
0

01 前言 Front Matter

name
bi-tableau-calculations-lods
risk
low
tags
[ "business-intelligence", "tableau", "lod", "analytics", "sql" ]
author
AAS Platform
source
authoring
version
1.0.0
category
business-intelligence
description
Design enterprise Tableau data models utilizing FIXED, INCLUDE, and EXCLUDE Level of Detail expressions for complex cohort, market basket, and benchmark analytics.
disable-model-invocation
false

03 SKILL.md 正文

Tableau Advanced Calculations and Level of Detail (LOD) Expressions

Overview & Core Principles

Design enterprise Tableau data models utilizing FIXED, INCLUDE, and EXCLUDE Level of Detail expressions for complex cohort, market basket, and benchmark analytics.

LOD Evaluation Hierarchy & Context Filters

  1. Order of Operations:
    • Extract Filters -> Data Source Filters -> Context Filters -> FIXED LOD Expressions -> Dimension Filters -> INCLUDE/EXCLUDE LOD Expressions -> Measure Filters -> Table Calculations.
  2. Archetypal LOD Use Cases:
    • Customer First Purchase Cohort: {FIXED [Customer ID] : MIN([Order Date])}
    • Total Category Sales for Market Share: [Sales] / {EXCLUDE [Sub-Category] : SUM([Sales])}
    • Customer Order Frequency Benchmark: {FIXED [Region] : AVG({INCLUDE [Customer ID] : COUNTD([Order ID])})}
  3. Performance Invariants:
    • Promote dimensional filters to Context Filters when FIXED expressions must respect user slicers.
    • Avoid nesting LODs across unindexed blended data sources.

04 同仓库更多 Skills