Since I have created this in Excel 2013, you will be able to play around with this Pivot Table only if you are also using PowerPivot in Excel 2013 i.e. Please refer worksheet named “PowerPivot solution”. PowerPivot – We can simple PowerPivot formulas to obtain your desired results. I can think of two solutions to this problem:ġ. This problem is arising because of the Calculated Items formulas that you have had to write. So, while in the “Summarise values fields by” section, one may want to use the Maximum function, in the subtotal cell, one may want to use the sum function. The Subtotal/Grand Total cells assume the same function as has been used in the “Summarise Values field by”. While this is easy to accomplish with a Conventional Pivot Table as well, the problem occurs in the Subtotal/Grand Total cells of a Pivot Table. One may want to know the maximum amount per month per Manager. There are repetitions in the Data and Manager column. Assume a dataset with three columns – Date, Manager and Amount. You may refer to my solution in this workbook. I have been able to resolve this problem by using the free Power Pivot add-in from Microsoft for Excel 2010 and higher versions. The Grand Total column is to be left blank for Average Selling Price,Īs you can observe, the subtotal column (for the months) will have different formulas running for different Fields.Ī conventional Pivot Table does not allow one to have custom formulas in the Subtotal columns. For the monthly subtotals, the figure is to be computed as Average Selling price for every year is to be computed as as Net Amount/(Ttl Bonus + Quantity). The Grand total column should be a a summation of individual subtotals.Ģ. For the monthly subtotals, the Net Amount and Bonus figure are to computed as a difference of 20 i.e. SUM of quantity of 2005 – SUM of quantity of 2006. The actual requirement is to customise the Subtotal column of the Pivot Table as follows:ġ. There is no complication in creating the Pivot Table described above. and the summarization function applied to them is SUM. In the Value area section are fields such as Net Amount, Quantity, Bonus etc. For some months, there is data for two years only 20. In the Column labels are two fields, Month and then Year – so in the column labels, for every month, there is data for three years 2005, 20. Visualise a Pivot Table with a few Fields dragged in the Report filter, Row labels and Value Area section.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |