Measures in Power Pivot – Microsoft Assistance

Steps are calculations used in information analysis. Examples frequently found in business reports consist of amounts, averages, minimum or optimum values, counts, or advanced estimations that you create using a Data Analysis Expressions( DAX)formula. In a PivotTable, PivotChart, or report, a procedure is put in the VALUES area, where the row and column labels that surround it identify the context of the worth. For example, if you are measuring sales by year(on columns )and area( on rows), the value of the step is calculated based on a given year and area. The value of a measure always changes in response to choices on rows,

columns, and filters, allowing for ad hoc data expedition. While procedures and computed columns are comparable because both are based upon a formula, they vary in how they are utilized. Measures are usually utilized in the VALUES area of a PivotTable or PivotChart. Calculated columns are used when you wish to place determined results in a different location of a PivotTable (such as a column or row in a PivotTable, or on an axis in PivotChart). It’s very essential to comprehend when to utilize procedures instead of a calculated column and vice-versa. For additional information, see Computations in Power Pivot and Calculated Columns in Power Pivot.

Understanding Procedures

Procedures are either implicit or explicit, which impacts how you utilize them in a PivotTable or PivotChart, and in other applications that use a Power Pivot Data Design as a data source.

Implicit Calculated Field

An implicit measure is developed by Excel when you drag a field, such as Sales Amount, to the WORTHS location of the PivotTable Fields list. Since implicit procedures are produced by Excel, you may not know that a brand-new step has been produced. However if you analyze the VALUES list carefully, you will see that the Sales Quantity field is really a procedure named Amount of Sales Quantity and appears with that name in both the worths area of the PivotTable Fields list, and on the PivotTable itself.

Implicit procedure created in a PivotTable

Implicit calculated field

Implicit measures can just use a basic aggregation (AMOUNT, COUNT, MINUTES, MAX, DISTINCTCOUNT, or AVG ), and must use the data format specified for that aggregation. In addition, implicit steps can just be utilized by the PivotTable or chart for which they were developed.

An implicit step is securely combined with the field upon which it is based, affecting how you delete or customize the step later.

Explicit Calculated Field

An explicit step is created by you when you type or select a formula in a cell in the Computation Location, or by using the AutoSum function in the Power Pivot window. Many procedures you produce will be explicit.

Explicit step developed in the Power Pivot Estimation Area

Explicit Calculated Field

Specific steps can be utilized by any PivotTable or PivotChart in the workbook and by Power View reports. Moreover, they can be encompassed end up being a KPI, or formatted using among the numerous strings readily available for numeric information. Context menu commands for Develop KPI and Format are only readily available when you are utilizing an explicit calculated field.

Keep in mind: As soon as you utilize a step as a KPI, you can not use it for other estimations; you must make a copy if you want to use the formula in computations also. For additional information about KPIs, see Key Performance Indicators (KPIs) in Power Pivot.

Top of Page

Example

The sales supervisor at Experience Works has actually been asked to provide reseller sales projections over the next. She chooses to base her price quotes on in 2015’s sales quantities, with a 6 percent annual increase arising from numerous promotions that are arranged over the next 6 months.

To develop the price quotes, she imports last year’s reseller sales information and adds a PivotTable. She finds the Sales Amount field in the Reseller Sales table and drags it to the VALUES location of the PivotTable Fields list. The field appears on the PivotTable as single value that is the sum of all reseller sales from in 2015. She notices that even though she did not define the estimation herself, an estimation has been provided instantly, and the field has actually been relabelled to Amount of Sales Quantity in the field list and on the PivotTable. An integrated aggregation added by Excel, =SUM(‘FactResellerSales’ [SalesAmount] provides the calculation. She relabels the implicit procedure Last Year Sales.

The next computation is sales projection for the coming year, which will be based upon in 2015’s sales increased by 1.06 to represent the anticipated 6 percent boost in reseller service. For this computation, she should produce the procedure explicitly, using the New Calculated Field button to develop a computation named Projected Sales. She fills out the following formula: =AMOUNT(‘FactResellerSales’ [SalesAmount] * 1.06.

The brand-new procedure is added to VALUES area in the PivotTable Fields list. It is also added to the table that is presently active in the PivotTable Fields list. The table provides a place for the procedure in the workbook. Due to the fact that she chooses to have the measure in a different table, she modifies the measure to alter its table association.

Very rapidly and with minimal effort on her part, the sales supervisor has the fundamental information in location. She can now further examine her projections by filtering on particular resellers or by including line of product details to validate that the future promos are for items that the reseller brings.

Calling Measures

You can reorganize and rename steps after they are developed. Nevertheless, there are some restrictions on modifications to steps:

  • Steps appear in the PivotTable Fields list (unless they are concealed) in addition to other objects. Think about calling them in a manner that quickly identifies the action they will perform.

  • Each measure name must be special within a table.

  • Prevent names that have already been utilized for calculated columns within the exact same workbook. Although it is possible for a step and a calculated column to have the same name, if names are not distinct you can get computation mistakes.

  • When you relabel a measure, any formulas that invoke it in a formula must also be updated. Unless you are in manual update mode, upgrading the results of formulas takes place automatically. However, this operation might spend some time.

  • Due to the fact that the name becomes part of the step’s formula, there are some characters that can not be used within the name. For additional information, see “Naming Requirements” “in DAX syntax.

Top of Page

Idea: You can group measures from numerous tables into one table by developing an empty table, and then move or develop brand-new steps therein. Keep in-mind, you might need to include table names in DAX solutions when describing columns in other tables.

Jobs

The following article consists of instructions on how to develop both implicit and explicit calculated fields.

Develop a Step in a PivotTable or PivotChart

Top of Page

Measures, also known as measures in Power Pivot in Excel 2013, are calculations used in information analysis. Examples commonly discovered in company reports consist of amounts, averages, minimum or maximum values, counts, or advanced estimations that you produce using an Information Analysis Expressions (DAX) formula. In a PivotTable, PivotChart, or report, a step is placed in the VALUES location, where the row and column labels that surround it figure out the context of the value.

You May Also Like

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다