Comprehensive collection of Tableau calculated field formulas for common visualization needs.
Create a library of Tableau calculated fields for my visualization project: Data Context: - Domain: [industry/use case] - Key measures: [list primary metrics] - Key dimensions: [list categories] - Date field: [field name and granularity] Calculated Fields Needed: 1. Date/Time Calculations - Fiscal year/quarter conversion - Week number (ISO/custom) - Relative date filters (Last N days/months) - Date part extraction 2. String Manipulations - Standardize formats - Extract components - Concatenate with formatting - Conditional text 3. Aggregation Variations - Running totals - Moving averages - Percent of total - Rank calculations 4. Conditional Logic - Binning/bucketing - Status classifications - Threshold indicators - Exception flagging 5. Table Calculations - Year-over-year change - Difference from average - Percentile rank - Index calculations 6. LOD Expressions - Fixed calculations - Include/Exclude patterns - Nested LODs For each calculation provide: - Formula with comments - Use case explanation - Performance considerations - Example application
Or press ⌘C to copy