| How to add DAX calculations to the PowerPivot workbooks |
| Written by Vidas Matelis |
| Friday, 18 December 2009 01:53 |
|
There are 2 places where you can add DAX calcualtions to your PowerPivot workbooks
Adding calculated columns in the PowerPivot windowTo add calculated column go to PowerPivot window, select table and go to the column at the very right that will have a header "Add column". Select that column and in the formula area enter DAX formula, for example:
You should rename that calculated column by selecting it again, then doing right mouse click and choosing "rename column" and then entering new column name "Full Name". Adding new calculated measures in the Pivot windowIn Pivot window select area within pivot or slicer or chart and then in PowerPivot menu select "New measure":
Or you can also start the same dialog by doing right mouse click on the table name in the PowerPivot Task Pane. This is probably more convinient way of adding new measure, as this measures by default will be assigned to the selected table.
In the new measure window you will have to select table that this new measure will be assigned to, then measure name and DAX formula:
|
Author articles
- DAX cheat sheet
- Slicer impact on PowerPivot query performance
- Changing how PowerPivot handles DAX errors
- Q: How can I see what internal commands PowerPivot executes in its engine?
- PowerShell Script - Calculate how much space each table uses in the PowerPivot workbook
Most Popular
- Step by step guide on installing PowerPivot for SharePoint on a single machine
- List of suggested datasets to test PowerPivot
- List of PowerPivot DAX functions with description
- How to install PowerPivot for Excel and list of know issues
- Microsoft Virtual Lab: PowerPivot for Excel 2010 Introduction
- List of PowerPivot DAX functions (short)
- PowerPivot's impact on BI pros?
- Recorded webcast - A Preview to PowerPivot Server Best Practices





