+ Reply to Thread
Results 1 to 2 of 2

Add a percentage column at the end of pivot table

  1. #1
    Registered User
    Join Date
    03-31-2022
    Location
    saudi arabia
    MS-Off Ver
    365
    Posts
    1

    Add a percentage column at the end of pivot table

    Hello
    i am trying to make an income statement using Pivot table with slicer. Everything works. I click on filter in slicer and pivot table shows me data for that specific station. But my only problem is that i want to add an extra column at the end of pivot table named percentage.

    This new column should show the percentage of data in all rows when i select one station compared to all stations.

    For example 1st row is fuel sales. The total fuel sales for all the stations is 179,967.50
    and sales by station 01 is 12,495.71

    So when i filter data with station 01, the last column should show a percentage of (12,495.71/179967.5) *100= 69.4%

    Same calculation is needed for all rows which should change when i filter data with station 02,04 etc.

    Is there any way?
    Attached Files Attached Files
    Last edited by jamiltidi; 03-31-2022 at 02:48 AM. Reason: update attached excel file

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    2016 primarily
    Posts
    7,404

    Re: Add a percentage column at the end of pivot table

    You can do it using a couple of measures and the data model, as in the attached. If you only want the % to show for the grand total, you'll need to create a column set.
    Attached Files Attached Files
    Rory

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 11-14-2021, 04:12 PM
  2. [SOLVED] A Second Column Which Shows Percentage Of Total In The Pivot Table
    By zanshin777 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-23-2015, 08:17 AM
  3. Having percentage cakculation of one value in column in pivot table
    By paula10 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-01-2015, 07:59 AM
  4. Pivot Table & Percentage Column
    By Glennyboi in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 08-06-2012, 10:07 AM
  5. Replies: 2
    Last Post: 05-18-2009, 09:14 AM
  6. Replies: 3
    Last Post: 02-23-2009, 10:07 AM
  7. Pivot Table Percentage of Grand Total Column
    By Jacob in forum Excel General
    Replies: 6
    Last Post: 03-08-2006, 01:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1