xViz
ProductPricingCommunity
  • Welcome to xViz Docs!
  • Project Management
    • Project Management - xViz Gantt Chart | Introduction
    • Hierarchy and Additional Columns
    • 🔸Milestones
      • Milestone Formatting
    • Planned Bars
      • Planned Bars Formatting
    • Connectors
      • Primary & Secondary Connectors
      • Multiple Connectors
      • Connectors Formatting
    • Progress
      • Tracking the progress
      • Progress Bar Display
      • Progress Base
      • Bar Formatting
    • Timeline Configurations
      • Timeline Start/End
      • Timeline Range
      • Header Levels
      • Zoom Levels
      • Zoom Options
      • Fiscal Year Support
      • Timeline Format
      • Language Support for Timeline
    • ✨Alerting Techniques
      • Steps to enable Conditional Formatting
      • Conditional Formatting
    • Reference Lines and Reference Range
      • Introduction
      • Static Approach
      • Data Driven Approach
    • Resource Gantt
    • ➡️Other Features
      • Data Colors
        • Row Background Color
        • Bar Border Color
        • Bar Selection Color
        • Bar Fill Color
        • Connectors
      • Duration Data field
      • Display Duration
      • Display Totals
      • Hide Blanks
      • Date Formats
      • DaysOff
        • Weekday
        • Custom Date
      • Setting Up Drill-through
      • Configure External URLs
      • Splitter Position
      • Text Customization
      • Row Numbering
      • Indentation
      • Sorting
    • Parent Level Calculations
      • Aggregation Types
    • Tooltip
    • Release Notes
    • ❓FAQs
  • Performance Management
    • Performance Flow - Introduction
      • Installing from AppSource
      • Get Started
    • Use Cases
      • Organization Performance
      • Microsoft Tenant Data Analytics
        • Organization Chart using Microsoft Graph API
      • Process Flow
      • Sales Performance Analysis
      • Cost Center Analysis
      • KPI Tree
      • Warehouse Management
      • Supply Chain Network
    • Configuring the chart structure
      • Hierarchy structure
      • Grouping / Swim Lanes
        • Data Structure for Columnar Group View
        • Data Structure for Wide Group Views
      • Invisible Group
    • 🪪Display Data in the Cards
      • Title, Subtitle
      • 👨‍💼Images
        • Converting HTTPs link images/icons to Base 64 in Power BI
        • Handling long Base 64 URLs in Power BI
      • 🔢Displaying KPIs
        • Number Formatting
      • 🔻Displaying Variance
      • Sparkline Trends
      • 🔗Hyperlinks
    • Card Formatting
      • Data-Driven Color
      • Templates
      • Customize Template
        • Insert additional data
        • Alignment
        • Wrap Text
        • Styling
        • Margin & Split
        • Modify (Delete / Cope-Paste)
        • Import/Export
    • Links
    • 🗒️Notes & Annotation
    • 🚦Conditional Formatting
    • Layout & Orientation
    • ✨Search
    • ✨Viewing Subtrees
      • Cross Filtering with Subtrees
    • 🔐✨User Context - RLS Experience
    • ✨Filter Context
    • 🎨Formatting Features
      • Formatting Font & Colors
      • Connectors
      • Expand Collapse Button
      • Dimensions
    • Toolbar Ribbon Configuration
    • Simulation
    • ❓FAQs
      • Circular Dependency message
    • Tips & Tricks
      • Bookmark
      • Report Page Tooltip
      • Field Parameters
      • Drill Through
    • Release Notes
Powered by GitBook
On this page
  • What is Duration?
  • Duration in the xViz Gantt Chart
  • Steps to Use Duration in Gantt Chart:
  • 1. Add Dates to the Gantt Chart
  • 2. Optional - Display Duration based on Planned Dates
  • 3. Display Calculated Durations
  • 4. Select Duration Type
  • 5. Choose Duration Units
  • 6. Decimal places for Duration
  • 7. Additional Formatting options
  • New column for Duration added

Was this helpful?

  1. Project Management
  2. Other Features

Display Duration

PreviousDuration Data fieldNextDisplay Totals

Last updated 6 months ago

Was this helpful?

What is Duration?

The Task Duration is the difference between the Start and End Dates. The Duration indicates the time frame that is available for the task to be completed. The Duration Type of a task identifies the relationship between the number of resources assigned to a task, the total effort, and the total Duration of the task.

Typically, we would need to write a DAX measure to determine the difference between dates. However, in the xViz Gantt chart, there is no need to write a DAX measure. The visual calculates the duration for you.

Duration in the xViz Gantt Chart

The xViz Gantt chart makes it easy to calculate duration using Actual dates and Planned dates, with the ability to show the duration in various units like days, weeks, months, etc. This visual provides flexibility and simplifies analysis by automatically adding additional columns to the chart showcasing the Duration, so you don't need to write any DAX measures.

Steps to Use Duration in Gantt Chart:

1. Add Dates to the Gantt Chart

Begin by inputting your actual dates into the Gantt chart

2. Optional - Display Duration based on Planned Dates

To calculate the duration based on planned dates, add your planned start and end dates to the chart.

3. Display Calculated Durations

Go to the Format Pane and select the option for Display Categories

4. Select Duration Type

In the Display Categories, you will find the Duration Type option where you can choose between

  • Actual Dates

  • Planned Dates

  • Or Both

5. Choose Duration Units

You can display the duration in different units such as

  • Months

  • Weeks

  • Days

  • Hours

  • Minutes

  • Seconds

6. Decimal places for Duration

There is an option to show durations with decimal places for more precise measurements.

7. Additional Formatting options

You can add suffixes to the duration values, change the title, and increase the width size of the column added.

New column for Duration added

When you select the duration option, a new column will be added to the chart showing the calculated duration values.

  • Actual Duration

  • Planned Duration

  • Both Actual and Planned

To show Planned Duration at the Parent levels as well, ensure to enable the below option: Format pane -> Chart Options -> Show Planned Tasks. For more detail on Parent planned bars check out document -

➡️
Parent Planned Bars
GIF 1: Display Duration
Image 1: Populating the Actual Start and Actual End Dates
Image 2: Populating the Planned Start and Planned End Dates
Image 3: Display Categories section in the Format pane
Image 4: Duration Type option in the xViz Gantt Chart
Image 5: Duration Unit option for the Duration column
Image 7: Decimal places option for the Duration column
Image 7: Formatting options for the Duration column
Image 8: Actual Duration column in the xViz Gantt Chart
Image 9: Planned Duration column in the xViz Gantt Chart
Image 10: Both Actual Duration and Planned Duration columns in the xViz Gantt Chart