+ Reply to Thread
Results 1 to 5 of 5

How to add average line of percentage in the pivot chart

  1. #1
    Registered User
    Join Date
    10-30-2017
    Location
    malaysia
    MS-Off Ver
    2016
    Posts
    11

    How to add average line of percentage in the pivot chart

    Hello there,

    How do I add a line representing the average percentage of the each data set in my pivot chart?
    The line can be referred as per picture in the file attached. Thank you in advance
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: How to add average line of percentage in the pivot chart

    You can add calculated values to the source or simpler add calculated fields directly to PivotTable. Effect is the same. Then format all suitably to your needs.
    Attached Files Attached Files

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How to add average line of percentage in the pivot chart

    You can easily do this using Power Pivot - add your source data to the data model, then add the following measures:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Formula: copy to clipboard
    Please Login or Register  to view this content.


    You can then add these to your chart, and format to suit. See attachment for worked example.
    Attached Files Attached Files
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    10-30-2017
    Location
    malaysia
    MS-Off Ver
    2016
    Posts
    11

    Re: How to add average line of percentage in the pivot chart

    Thanks for the solutions guys, though I am clueless on both methods...lol..
    Definitely need to learn some basics first. tq again

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to add average line of percentage in the pivot chart

    You are welcome, thanks for rep and mark thread solved

+ 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. Track completion percentage in a line chart
    By utahjim9 in forum Excel General
    Replies: 1
    Last Post: 02-28-2014, 04:17 AM
  2. How to add an average line to a pivot chart
    By tycush7 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-21-2013, 09:37 AM
  3. [SOLVED] Line Chart with 3 Axes (Text, date & Percentage)
    By raehippychick in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-11-2012, 08:42 AM
  4. Displaying a average line on a pivot chart
    By excelaspire0219 in forum Excel General
    Replies: 2
    Last Post: 01-29-2009, 04:22 PM
  5. Average line on a pivot chart
    By excelaspire0219 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-29-2009, 12:00 PM
  6. Straight Average Line on Line Chart
    By miked79 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-11-2008, 12:00 PM
  7. [SOLVED] Pivot Chart which shows average line with below and above figures
    By Env shah in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-03-2006, 06:55 AM
  8. [SOLVED] How do I combine a line and a percentage stacked column chart?
    By Liza in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-03-2005, 10:06 AM

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