Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
761
XamPivotGrid Percentage of Total, AdomdDataSource
posted

Hello

my customers require to view the data in the XamPivotGrid as percentage of total, similar as in Excel where it's possible to select this option on a column and row basis. I found the following thread http://blogs.infragistics.com/forums/t/61709.aspx where IG suggests to use the PercentOfTotalAggregator, which at that time was an unsupported class for the 11.1. version of the XamPivotGrid. I hoped with version 12.1 this feature would be available, but it seems it still is not. At least I did not find any documentation on it, but the class is still there in the Infragistics.Olap namesapce.

So, I am using XamPivotGrid version 12.1.20121.1010, connecting the grid via  the AdomdDataSource or XmlaDataSource, not a flat datasoure as shown in samples. I would like to provide some commands for the user to click a row or a column and switch from double values to percentages and back.

Could someone please provide some guidance on how to achieve this with AdomdDataSource/XmlaDataSource, any help is very much appreciated.

Thanks, Frank