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
  • Sum Aggregation type:
  • Average aggregation Type:
  • Weighted Average Aggregation Type:

Was this helpful?

  1. Project Management
  2. Parent Level Calculations

Aggregation Types

PreviousParent Level CalculationsNextTooltip

Last updated 6 months ago

Was this helpful?

In the xViz Gantt Chart, there are multiple aggregation types available.

For any measures inserted in the “Display Measures” data field, the aggregation is done at the parent level.

The aggregation is done at the parent level based on the child level durations and the data label value.

Steps to configure the aggregation type:

  1. Add the measure of your needs in the “Display Measures” data field.

In the above example, Planned Duration has been added in the data field.

  1. In the format pane, turn on the toggle for the “Planned Duration” option from the display measure.

The option name depends on the name of the measure. In this example, “Planned Duration” is the measure.

  1. In the format pane, go to “Number Formatting” section and select the aggregation type as per the requirement. These are the available aggregation types - Sum, Average, Weighted Average.

Sum Aggregation type:

You can see that the Planned Duration at the Parent level has been aggregated as an arithmetic sum.

Measure value at parent: Sum=Σd

Where d is the measure value of the child bar.

Consider the “REQUIREMENTS” parent in the above example: The duration is the sum of Planned Duration of all the child levels (0 + 7 + 6 + 2 = 15).

Average aggregation Type:

You can see that the Planned Duration at the Parent level has been aggregated as an arithmetic mean (Average).

Measure value at parent Average=Σdl/n

where dl is the data label value of the child bar, n is the number of child bar.

Consider the “DEVELOPMENT” parent in the above example – The Duration is the average of Planned Duration on all the child levels (0+19+7+6)/4=8

Weighted Average Aggregation Type:

You can see that the Planned Duration at the Parent level has been aggregated as weighted average.

Parent bar data label of weighted average type is the sum of its every child bar's product of duration and data label value, divided by the sum of all its child bars duration.

Measure value at parent Weighted Average=(Σ(dxdl))/Σd

Where n is number of child bars, d is the duration of child bar, dl is the data label value of the child bar.

Consider the “REQUIREMENTS” parent in the above example, Parent bar data label of weighted average type is the sum of its every child bar's product of duration and data label value, divided by the sum of all its child bars duration.

((8x7) +(4x6) +(2x2))/ (8+4+2) = (56+24+4)/14= (86/14) =6

Weighted average = 6


Try the (Microsoft certified) for Power BI from Microsoft AppSource .

xViz Gantt Chart
here
GIF 1: Configuration of the Aggregation types
Image 2: Configuration of Display Measure Data Field
Image 3: Sum Aggregation Type
Image 4: Sum Aggregation on xViz Gantt Chart
Image 5: Average Aggregation Type
Image 6: Average Aggregation on xViz Gantt Chart
Image 7: Weighted Average Aggregation Type
Image 8: Weighted Average Aggregation on xViz Gantt Chart