Thursday, December 3, 2026
HomeBusiness IntelligenceWhen to make use of DAX calculation teams in Energy BI

When to make use of DAX calculation teams in Energy BI


A shared calculation tile applies the same comparison to three Power BI measure tiles.

Use a calculation group when the identical calculation wants to use to a number of present measures. A report would possibly present actuals, prior yr, and share change for gross sales, price, and order depend. A calculation group can reuse the comparability logic whereas every measure retains its unique definition.

Begin solely after the bottom measures are reliable. When you’ve got one measure and one comparability, an everyday measure is less complicated for the subsequent particular person to comply with.

Discover the sample you’re repeating

Record the measures folks already use and the variations you retain including. Separate the bottom measures, corresponding to web gross sales and order depend, from the adjustments in context, corresponding to shifting a date filter to the prior yr. Be sure that folks imply the identical factor by “prior yr” earlier than making use of it broadly.

Establish measures the calculation shouldn’t contact. A share or point-in-time steadiness might have a unique interpretation from a gross sales complete. For instance, if the group applies to web gross sales and order depend, use ISSELECTEDMEASURE to verify whether or not the present measure is a kind of two. For different measures, return the unique worth. This leaves charges and balances out there for their very own comparability guidelines.

Apply one calculation merchandise to specific measures

Microsoft’s Energy BI calculation group information exhibits methods to create the group and add calculation gadgets. Every merchandise makes use of SELECTEDMEASURE to confer with the measure presently in context. Calculation teams apply to specific measures. If the report depends on an automated sum from a numeric column, create a named measure for that sum and verify that present visuals nonetheless behave as anticipated. For a mannequin utilizing traditional time intelligence, a prior-year merchandise would possibly appear like this:

CALCULATE (
    SELECTEDMEASURE (),
    SAMEPERIODLASTYEAR ( 'Date'[Date] )
)

Put the merchandise in a small take a look at matrix. For instance, place reporting month on rows, the calculation merchandise on columns, and Web Gross sales and Order Depend in Values. If final April had $10,000 in web gross sales and 80 orders, the prior-year column for April ought to present these two values with the proper models. Attempt one other month with no prior-year orders and agree whether or not to show a clean. Verify the whole with the identical date vary utilized by the enterprise assessment. This makes it simpler to inform whether or not an error got here from the brand new merchandise or the measure you began with.

Maintain values and codecs comprehensible

A previous-year forex worth ought to normally retain its forex format. Set a share format on the expansion merchandise even when the bottom measure is a greenback quantity or a depend. For the prior-year merchandise, use SELECTEDMEASUREFORMATSTRING if it ought to inherit the format of the bottom measure. Maintain the worth numeric so it nonetheless kinds as a quantity.

If multiple group can apply to the identical report, doc how they work together. The priority property controls the order through which calculation teams mix. Attempt the prior-year merchandise along with one other merchandise, corresponding to forex conversion, and evaluate the outcome with the anticipated enterprise calculation. Take a look at combos, together with circumstances the place no merchandise is chosen. Altering how calculations mix can have an effect on present reviews, so verify a pattern earlier than releasing a shared mannequin change.

Verify a saved view earlier than sending it to anybody

Open the printed report as a reader and confirm that the report makes the chosen comparability clear, together with the interval and models. Verify totals and blanks, and evaluate a well-known outcome to the report your workforce used earlier than the change. If the general progress charge differs from the common of the displayed month-to-month charges, recalculate it from the interval totals. A transparent complete label can forestall readers from assuming it averages the rows.

For reviews that exit frequently, PBRS can schedule the export of the accepted report view. The mannequin retains the shared calculation logic, and the reporting workforce spends much less time getting ready the identical output. Confirm one exported file from begin to end, together with the chosen calculation merchandise and formatted values.



RELATED ARTICLES

Most Popular

Recent Comments