Quantcast
Channel: OLAP PivotTable Extensions
Viewing all 469 articles
Browse latest View live

Updated Wiki: Troubleshooting Installation

$
0
0

Troubleshooting Installation

This page is the guide for troubleshooting installation issues with OLAP PivotTable Extensions.

Restarting Excel After Installation

The first thing to try is to restart Excel. If you install OLAP PivotTable Extensions while Excel is open, it must be restarted. Close all Excel documents and close Excel. Then open Excel again to see if that solves the problem.


Is Your PivotTable an OLAP PivotTable?

If you click on the PivotTable then press Alt-F11 then Ctrl-G then paste the following into the Immediate window and press enter:

?ActiveCell.PivotTable.PivotCache().OLAP

Does it say True?

If not, then you PivotTable is a native PivotTable that's summarizing some table or other data in the spreadsheet or SQL table. You have to have an OLAP PivotTable (that is, one connected to an Analysis Services server) for my add-in to work.


Repairing the OLAP PivotTable Extensions Installation

Starting with Release 0.7.0, the installer should fix all of the issues listed below. (Update: Release 0.9.0 does not yet properly repair all of these problems listed below.) So if OLAP PivotTable Extensions is not working, try to repair the installation as follows, and that should fix the problem.

On Windows XP, go to Start... Settings... Control Panel... Add or Remove Programs. Click on OLAP PivotTable Extensions and click Change, on the next screen choose to Repair OLAP PivotTable Extensions, and click Finish.

On Windows 2003, go to Start... Control Panel... Add or Remove Programs. Click on OLAP PivotTable Extensions and click Change, on the next screen choose to Repair OLAP PivotTable Extensions, and click Finish.

On Windows Vista or Windows 2008, go to Start... Control Panel... Classic View... Programs and Features. Right click on OLAP PivotTable Extensions and click Change, on the next screen choose to Repair OLAP PivotTable Extensions, and click Finish.

On Windows 7, go to Start... Control Panel... Uninstall a program. Right click on OLAP PivotTable Extensions and click Change, on the next screen choose to Repair OLAP PivotTable Extensions, and click Finish.


Manual Troubleshooting

If you prefer to troubleshoot the installation manually, then use the following information and screenshots.


Is It Disabled?

The first thing to check is whether OLAP PivotTable Extensions is disabled. Click on the File button (in the top left) and choose Options. Click on the add-ins tab, then scroll down and see if OLAP PivotTable Extensions is disabled:

AddInsDialog.png

If it is disabled, then select "Disabled Items" from the Manage dropdown at the bottom and click Go. Then enable the add-in using this dialog:

DisabledItems.png

Then check whether the add-in is inactive using the following instructions.


Is It Inactive?

Then check whether OLAP PivotTable Extensions is inactive. Click on the Office button (in the top left in Excel) and choose Excel Options. Click on the add-ins tab, then scroll down and see if OLAP PivotTable extensions is in the inactive list:

InactiveAddInsDialog.png

If it is inactive, then select "COM Add-ins" from the Manage dropdown at the bottom and click Go. Then check OLAP PivotTable Extensions and click OK.

ComAddInsDialog.png

Then repeat the instructions above making sure it is now active, not inactive.



Updated Wiki: Calculations Help

$
0
0

Calculations Help

This page is a resource for the OLAP PivotTable Extensions if you are creating private PivotTable calculations and need help. The formula used is a standard Analysis Services MDX expression. All formulas are executed on the Analysis Services server.

The best place to ask for help with MDX expressions is at the MDX tag on StackOverflow or the Microsoft Analysis Services Forums.

Example Calculations

The following calculations work against Microsoft's sample Adventure Works cube:
Ratio
IIf(
 [Measures].[Internet Order Count] = 0
 ,null
 ,[Measures].[Internet Tax Amount] / [Measures].[Internet Order Count]
)


MDX References


Advanced

The following are advanced tricks that may require more advanced knowledge of Analysis Services, your cube, and MDX.

Calculated Members on Dimensions

If you type in simply "My Calculation" or "[Measures].[My Calculation]" into the Calculation Name field in Calculations tab of OLAP PivotTable Extensions, you are creating a calculated measure. Calculations can also be placed on dimensions. This is appropriate when the calculation applies across to all measures.

As an example, you could define the following calculation:
  • Calculation Name: [Product].[Product Categories].[Bikes].[Road Bikes + 25%]
  • Formula: [Product].[Product Categories].[Bikes].[Road Bikes] * 1.25

DimensionCalcMemberFormula.png

These dimension calculated members then show up in the PivotTable just like normal dimension members:

DimensionCalcMemberPivotTable.png

NON_EMPTY_BEHAVIOR

The formula you provide for a calculation can include the NON_EMPTY_BEHAVIOR property which is a performance hint for MDX query execution on the server. While this property can drastically improve performance, do not use it unless you know what you're doing as it will cause incorrect numbers to be returned if you use it incorrectly. You may want to have your Analysis Services administrator check your calculations and NON_EMPTY_BEHAVIOR settings by exporting and sending him/her your Calculations Library.

For more information on NON_EMPTY_BEHAVIOR in Analysis Services 2005 see the Performance Guide and search for "NEB". Do not include a NON_EMPTY_BEHAVIOR if your PivotTable is running off an Analysis Services 2008 cube.

You can also set the FORMAT_STRING, BACK_COLOR, and FORE_COLOR properties (though since you can format the data in the PivotTable with native Excel functionality, this isn't strictly necessary). You may also set the SOLVE_ORDER property for situations when multiple calculations intersect on a particular cell.

The following is an example of setting such properties:

[Measures].[Internet Tax Amount] / [Measures].[Internet Order Count]
,NON_EMPTY_BEHAVIOR = [Measures].[Internet Tax Amount]
,FORMAT_STRING = "$#,##0"

Putting Calculations in Folders (AS2008 only)

When you build a private calculation in a PivotTable, it goes in the Values folder at the top of the field list. If your server is Analysis Services 2008, you can put that measure into a subfolder in the Values folder by using the DISPLAY_FOLDER property:

[Measures].[Internet Sales Amount] * 2
,DISPLAY_FOLDER = 'My Folder'


Or you could put it in the folder for a measure group:

[Measures].[Internet Sales Amount] * 2
,ASSOCIATED_MEASURE_GROUP = 'Internet Sales'


Or you could put it in a subfolder inside a particular measure group:

[Measures].[Internet Sales Amount] * 2
,DISPLAY_FOLDER = 'My Folder'
,ASSOCIATED_MEASURE_GROUP = 'Internet Sales'


AS2000 Syntax

For PivotTables running off an Analysis Services 2000 cube, note that the syntax for calculated members in AS2000 was less flexible. You must surround your entire MDX with single quotes like:

'[Measures].[Internet Tax Amount] / [Measures].[Internet Order Count]'


PowerPivot

For PowerPivot, here is the official policy. If it's not done using the Excel UI, it's not supported by Microsoft. So using OLAP PivotTable Extensions (which uses the Excel API) won't be supported by Microsoft. So use OLAP PivotTable Extensions on top of PowerPivot PivotTables at your own risk.

That being said, using OLAP PivotTable Extensions to add calculations to a PowerPivot PivotTable works fine most of the time. It lets you do things which are not possible with PowerPivot itself, for example, adding calculated members to dimensions (so that the calculation applys to every measure).

Note the Solve_Order workaround mentioned in the following discussion # VALUE when using AGGREGATE() against PowerPivot. Also note the tips on troubleshooting DAX errors in PowerPivot mentioned in that discussion. Finally, note that the calculations you can add in OLAP PivotTable Extensions are MDX calculations, not DAX calculations.

Unfortunately, PowerPivot for Excel 2013, which comes installed with Excel, but has to be activated under COM Add-ins, has removed the ability add MDX calculations to PivotTables. For more about Excel 2013 and the Excel Data Model, see the Excel 2013 page.

Updated Wiki: Home

$
0
0
OLAP PivotTable Extensions is an Excel add-in which extends the functionality of PivotTables on Analysis Services cubes. The Excel API has certain PivotTable functionality which is not exposed in the UI. OLAP PivotTable Extensions provides an interface for some of this functionality. It also adds some new features like searching cubes, configuring default settings, and filtering to a list in your clipboard. The add-in can be launched from the following menu option in the right-click menu for PivotTables:

menu.png

Private Calculated Members

Any calculated members which are part of the Analysis Service cube on the server can be added to PivotTables. But there is no built-in UI to define your own MDX calculations. Adding extra Excel calculations in the cells surrounding the PivotTable has some limitations as they are not part of the PivotTable and can be wiped out if the dimensions of the PivotTable change, and plain Excel calculations must only operate on data visible in the PivotTable.

OLAP PivotTable Extensions let you define your own calculated measures which are private to that particular PivotTable:
AvgTaxFormula.png

Those calculations appear in the PivotTable just like any other calculations:
AvgTaxPivotTable.png

They appear in the Field List pane at the very top under the Values grouping:
AvgTaxFieldList.png

For help with advanced calculation properties for these private PivotTable calculations, or for help with MDX expressions, refer to our Calculations Help page.

Thankfully, in Excel 2013 Microsoft does provide a UI for building MDX calculations for the first time. It even includes a drag and drop field and function list. So use OLAP PivotTable Extensions in Excel 2013 for some of the other features it offers, which are detailed below. Unfortunately, Excel 2013 removed support for adding MDX calculated measures to PivotTables on Power Pivot models.

Best Practice: In order to ensure a single version of the truth, it is a best practice to define important calculations as part of the cube source code. But some calculations like simple ratios or differences may clutter the cube and may be more appropriate if defined in the PivotTable itself. In addition, certain ad hoc research or prototyping may be more appropriate to be done as calculations private to a PivotTable until they are finalized and are ready to be added to the cube source code.

Calculations Library

Since all calculations you define are private to that one PivotTable, OLAP PivotTable Extensions automatically creates a Calculations Library for you which contains all the calculations you create. This allows you to pick any previous calculation you've used from a dropdown and add it to the current PivotTable:

LibraryDropDown.png

You can also perform Calculation Library maintenance by importing, exporting, and deleting calculations:

Export.png

View PivotTable MDX

If a PivotTable is performing poorly or returning incorrect numbers, it may be necessary for the Analysis Services administrator to troubleshoot the MDX query which the PivotTable is using. The MDX tab of the OLAP PivotTable Extensions dialog shows you this MDX.

AvgTaxMDX2.png

Starting with release 0.7.3, you can check the checkbox in the top right in order to send your MDX query to a web service for formatting, thanks to Nick Medveditskov.

The MDX is exactly what is sent to the server with one exception. Any private calculations you've created for your PivotTable are defined as session calculated members. The MDX query exposed on the MDX tab displays the formulas for these calculations as query calculated members in the WITH clause of the MDX query. This allows an administrator to copy and paste the MDX query and troubleshoot it more easily in Management Studio or MDX Studio.

Filtering PivotTable to a List

A common scenario is having a list of items you wish to research in a PivotTable. Instead of manually checking each item in the filter dropdown, you can use the Filter List feature from OLAP PivotTable Extensions:

FilterListDialog.png

Changing PivotTable Defaults

Certain settings must be manually changed after creating a new PivotTable. For instance, if your dimensions have calculated members you wish to see in your PivotTable, you must manually right click on the PivotTable, choose PivotTable Options, flip to the Display tab, then check "Show calculated members from OLAP server". The Defaults tab of OLAP PivotTable Extensions lets you default this setting to be on in any new PivotTables you create in the future. If checked, it also automatically sets "Refresh data when opening the file" on the connection properties:

Defaults.png

Searching

Finding what you’re looking for in a cube can sometimes be challenging, but the Search feature of OLAP PivotTable Extensions can help. It lets you text search the items in the Field List and their descriptions. It also lets you text search the dimension members in your cube.

SearchTab.png

For more detailed information about the Search feature, see the dedicated Search page.

Distributing PivotTables

OLAP PivotTable Extensions need only be installed on computers which need to create new private PivotTable calculations. After those calculations have been defined, the PivotTable can be distributed to others without problem. If you distribute the Excel workbook to other Excel users, they will be able to continue designing and manipulating that PivotTable without problem. If published to Excel Services, the private calculations you define will still be active in the PivotTable.

ExcelServices.png

The Calculation Library does not need to be distributed unless other users wish to start brand new PivotTables and reuse certain calculations you have created using OLAP PivotTable Extensions.

Using Excel 2007/2010/2013/2016 and OLAP PivotTable Extensions to edit an Excel 2003 format .xls workbook with a PivotTable and add a private calculated member will work. This PivotTable can be saved and distributed to users of Excel 2003 and the private calculated member will show up and work.

Other Features

Other features include:

The following features are supported by version of Excel:

Feature Excel 2007 Excel 2010 Excel 2013 OLAP Excel 2013 Power Pivot Excel 2016 OLAP Excel 2016 Power Pivot
MDX Private Calculated Members X X X X
View PivotTable MDX X X X X X X
Filter PivotTable to a List X X X X X X
Search X X X X X X
Change PivotTable Defaults X X X X
Clear PivotTable Cache X X X X
Show Property as Caption X X X X
About Tab X X X X X X
Upgrade PivotTable X X X X X X
View #VALUE! Error Message X X X X
Disable Auto Refresh X X
Choose Fields to Show X X X X X X

Installation Requirements

Troubleshooting Installation

If OLAP PivotTable Extensions is not visible in Excel, please consult the Troubleshooting Installation page.

Feedback

To report bugs or suggestions, please post an item to the Issue Tracker tab.

To ask questions about MDX formulas such as the formulas used for private PivotTable calculations, see our Calculations Help page, or post a question to the MDX tag on StackOverflow or the Microsoft Analysis Services Forum, or contact your Analysis Services administrator.

To discuss OLAP PivotTable Extensions, please start a thread on the Discussions tab.

Updates

To keep up-to-date with future enhancements, subscribe to the Release RSS feed or to the All Project Updates RSS feed.

Acknowledgments and Additional Information

For links to other resources about PivotTables, view our Acknowledgments and Additional Information page.

Released: Release 0.9.0 (Nov 25, 2015)

$
0
0
This beta release contains support for Excel 2013 and Excel 2016. The installer supports both 32-bit and 64-bit Excel.

To run OLAP PivotTable Extensions in Excel 2007 or Excel 2010, use Release 0.8.4. Release 0.8.4 is not supported to be run side-by-side with newer releases.

This release requires the .NET Framework 4.5.2 and will install it if it is not installed already. If this requirement is a problem, useRelease 0.8.4.

Just download and run the EXE. There is no need to uninstall the previous release. If you have problems getting the add-in to work, see the Troubleshooting Installation wiki page.

This release does not provide any bug fixes or improvements over release 0.8.4. It just provides Excel 2016 support.

Updated Release: Release 0.9.0 (Nov 25, 2015)

$
0
0
This beta release contains support for Excel 2013 and Excel 2016. The installer supports both 32-bit and 64-bit Excel.

To run OLAP PivotTable Extensions in Excel 2007 or Excel 2010, use Release 0.8.4. Release 0.8.4 is not supported to be run side-by-side with newer releases.

This release requires the .NET Framework 4.5.2 and will install it if it is not installed already. If this requirement is a problem, use Release 0.8.4.

Just download and run the EXE. There is no need to uninstall the previous release. If you have problems getting the add-in to work, see the Troubleshooting Installation wiki page.

This release does not provide any bug fixes or improvements over release 0.8.4. It just provides Excel 2016 support.

New Post: Excel 2016 Compatibility

Created Unassigned: Does OLAP Pivottable Extension run in Sharepoint? [65086]

$
0
0
Hello Olap Pivottable Extention Users and Experts,

currently I am using OLAP PivotTable Extentions on my client and it works pretty good. Later on I would like to upload my created excelpivot reports to Sharepoint. I wonder now of that will run in Sharepoint at all ?...

Does Excel Services on Sharepoint support OLAP PivotTable Extentions?

If yes, what are the configurations I need to do on Sharepoint side?

Thank you!

Coco

Commented Unassigned: Does OLAP Pivottable Extension run in Sharepoint? [65086]

$
0
0
Hello Olap Pivottable Extention Users and Experts,

currently I am using OLAP PivotTable Extentions on my client and it works pretty good. Later on I would like to upload my created excelpivot reports to Sharepoint. I wonder now of that will run in Sharepoint at all ?...

Does Excel Services on Sharepoint support OLAP PivotTable Extentions?

If yes, what are the configurations I need to do on Sharepoint side?

Thank you!

Coco
Comments: ** Comment from web user: furmangg **

Calcs you build with OLAP PivotTable Extensions will run in Excel in laptops that don't have my add-in installed and will run fine in Sharepoint. No need to install anything extra on Sharepoint.

What features are you using and wanting to use in Sharepoint? Just calcs you have built in my add-in?


Closed Unassigned: Does OLAP Pivottable Extension run in Sharepoint? [65086]

$
0
0
Hello Olap Pivottable Extention Users and Experts,

currently I am using OLAP PivotTable Extentions on my client and it works pretty good. Later on I would like to upload my created excelpivot reports to Sharepoint. I wonder now of that will run in Sharepoint at all ?...

Does Excel Services on Sharepoint support OLAP PivotTable Extentions?

If yes, what are the configurations I need to do on Sharepoint side?

Thank you!

Coco

Commented Unassigned: Does OLAP Pivottable Extension run in Sharepoint? [65086]

$
0
0
Hello Olap Pivottable Extention Users and Experts,

currently I am using OLAP PivotTable Extentions on my client and it works pretty good. Later on I would like to upload my created excelpivot reports to Sharepoint. I wonder now of that will run in Sharepoint at all ?...

Does Excel Services on Sharepoint support OLAP PivotTable Extentions?

If yes, what are the configurations I need to do on Sharepoint side?

Thank you!

Coco
Comments: ** Comment from web user: Coco382 **

Hello Frumangg,

thank you for your response.

Yes I just have calculated build in the add-in.

Created Unassigned: Creating and Accessing a OLEObject From PowerPoint [65099]

$
0
0
Installing this Add-In causes the issue outlined in this post:

http://stackoverflow.com/questions/35050792/creating-and-accessing-a-oleobject/35069179#35069179

Reviewed: Release 0.9.0 (feb. 27, 2016)

$
0
0
Rated 5 Stars (out of 5) - Por favor nesecito este documento para poder crear misdebere y diapositivas ya que elimine sin quer los microsoft antiguos, estoy comenzando de nuevo :(

Created Unassigned: Enable Auto-Refresh Won't Work [65104]

$
0
0
Anytime I need to make updates to my Power Pivot model, I disable auto refresh. For some reason when I try to enable it, it asks for a password. I've force closed Excel a dozen times and I'm still unable to enable auto refresh.

I've attached the error message that I get. Anyone else experience this??

Commented Unassigned: Enable Auto-Refresh Won't Work [65104]

$
0
0
Anytime I need to make updates to my Power Pivot model, I disable auto refresh. For some reason when I try to enable it, it asks for a password. I've force closed Excel a dozen times and I'm still unable to enable auto refresh.

I've attached the error message that I get. Anyone else experience this??
Comments: ** Comment from web user: furmangg **

If you right click on the PivotTable and choose OLAP PivotTable Extensions and go to the last tab, what version do you have installed? What version is your Excel?

Created Unassigned: Stupid newb [65113]

$
0
0
I'm making some basic mistake. I get HRESULT errors for several of the extension functions. For example, the attached screen shot shows the error message when trying to do a filter list. Confirmed I have .Net 4.5.5 installed, followed the repair instructions, still seeing the error. What am I missing?

Commented Unassigned: Stupid newb [65113]

$
0
0
I'm making some basic mistake. I get HRESULT errors for several of the extension functions. For example, the attached screen shot shows the error message when trying to do a filter list. Confirmed I have .Net 4.5.5 installed, followed the repair instructions, still seeing the error. What am I missing?
Comments: ** Comment from web user: furmangg **

Looks like it's having trouble initiating a connection to your cube. It's Analysis Services? How are you connecting? Data Source=servername? Or Data Source=http://-------? Do you specify a username/password when you connect or does it inherit the username you're logged into your laptop with?

Commented Unassigned: Stupid newb [65113]

$
0
0
I'm making some basic mistake. I get HRESULT errors for several of the extension functions. For example, the attached screen shot shows the error message when trying to do a filter list. Confirmed I have .Net 4.5.5 installed, followed the repair instructions, still seeing the error. What am I missing?
Comments: ** Comment from web user: doug_steffen **

Yes, it's Analysis Services. Connecting through http:// ..... I don't specify a separate username/password when connecting.

Commented Unassigned: Stupid newb [65113]

$
0
0
I'm making some basic mistake. I get HRESULT errors for several of the extension functions. For example, the attached screen shot shows the error message when trying to do a filter list. Confirmed I have .Net 4.5.5 installed, followed the repair instructions, still seeing the error. What am I missing?
Comments: ** Comment from web user: furmangg **

I will leave this issue open to spend some time when I put out another release testing this scenario.

If you want to get it working with OLAP PivotTable Extensions now, then try the following:

Create a new connection from scratch. (You can't modify an existing connection.) Do the following:
1.Data tab... From Other Sources... From Analysis Services...
2.Type in a server name (in your case http://---, username, and password... click next
3.choose your database and click next
4.Check "Always attempt to use this file to refresh data". And check "Save password in file". Click Yes when the prompt pops up.
5.Click finish.

That will save your username and password (in clear text) into the odc file. (Be aware of this for security purposes.) Then it should work in OLAP PivotTable Extensions.

Created Unassigned: UI to reorder member properties [65120]

$
0
0
If you are clicked on the column header of the member property you move it to be the first or last or 8th member property showing:

ActiveCell.PivotField.PropertyOrder = 8

New Post: Windows 10 Compatibility

$
0
0
Is version 0.9.0 compatible with Windows 10?
Viewing all 469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>