PercentOfTotalCalculation Class
A calculation that is used to compute a percent of the total for the specified measure across a window.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
Declaration
Remarks
To apply a calculation to values of the required measure, perform the following steps.
- Create the PercentOfTotalCalculation class instance, initialize its settings and assign the resulting object to the Measure.Calculation property. As an alternative, you can specify a calculation by adding the required calculation functions inside the measure expression (Measure.Expression).
- Specify a window used to apply a calculation. To do this, create and initialize the required descendant of the MeasureCalculationWindowDefinition class (depending on the type of the target dashboard item) and assign the resulting object to the Measure.WindowDefinition property.
To learn more, see Window Calculations.
Inheritance
Object
DevExpress.DashboardCommon.Native.ClonableModelBase<MeasureCalculation>
MeasureCalculation
DevExpress.DashboardCommon.Native.BaseCalculation<PercentOfTotalCalculation>
PercentOfTotalCalculation
See Also