DrillDownTree
WebsiteAll products
  • PRODUCT GUIDE
    • Introduction
    • Getting started with DrillDownTree
      • Getting started with Viz Extension
      • Getting started with dashboard extension
        • Configuring parameter
          • Setting up a parameter in tableau
    • Using DrillDownTree
    • Formatting
      • General formatting and styling
      • Label configuration
      • Animations
      • Layout Configuration
      • Dashboard Actions
    • Customize measures
      • Custom calculations
      • Measure formatting
      • Conditional coloring
Powered by GitBook
On this page
  1. PRODUCT GUIDE
  2. Customize measures

Conditional coloring

PreviousMeasure formatting

Last updated 9 months ago

  • Press @ for variables.

  • Use AND/OR for multiple conditions in the same if statement.

  • e.g., @variable1 >= @variable2 AND @variable3 <= @variable4.

  • Click on the "add condition" button to add more conditions.

  • Use color pickers to add colors.

Creating a Conditional Color Scheme

  1. Open the Conditional Coloring Configurator.

  2. Add Conditions: Click on the “add condition” button and enter your conditions using @ for variables. Combine multiple conditions with AND/OR.

  3. Pick Colors: Click "Show Color Picker" to choose colors for nodes that meet each condition.

  4. Set Fallback Color: Pick a fallback color for nodes that do not meet any condition.

Example:

  • Condition: sales >= 1000 AND profit >= 5

  • Assigned Color: Green

  • Condition: sales < 1000 OR profit < 5

  • Assigned Color: Red

  • Fallback Color: Gray

A legend will appear based on the conditions you created for different measures.