| 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
- How to solve issue when PowerPivot for Excel crashes on all workbooks
- Using PowerPivot to analyze web access log in "Combined Log" format (CLF)
- Q: I have integer amount that represents duration in seconds. How can show this amount in format "h:mm:ss"?
- Interview with Marco Russo and Alberto Ferrari about their new book about PowerPivot
- DAX cheat sheet
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)
- Learning PowerPivot and DAX
- PowerPivot's impact on BI pros?







