+ Reply to Thread
Results 1 to 8 of 8

Pivot Chart adding a Trendline line or baseline

  1. #1
    Forum Contributor
    Join Date
    08-30-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    142

    Pivot Chart adding a Trendline line or baseline

    I have a pivot chart detailing a list of vehicles and times.

    The chart is a bar chart with time on the vertical axis and vehicles on the horizontal axis. I need a constant / benchmark of 5hrs showing across the chart as a form of a trendline. I have tried to use the trendlines but as these are all mathematical I can't enter what I want. I know if I create a table from the pivot I can just add the 5 hrs as part of the table and then when selecting the data do it that way. But can this be done in a pivot chart ?

    Thanks
    Last edited by Ted Dennis; 09-16-2013 at 03:06 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: Pivot Chart adding a Trendline line or baseline

    You can add a calculated field
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-24-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pivot Chart adding a Trendline line or baseline

    Andy,
    I downloaded your spreadsheet and I'm scratching my head trying to find the "baseline" informaation. Yes, it shows up in the pivot table and chart but I don't see it in the source data. Can you explain?

    Thanks,

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: Pivot Chart adding a Trendline line or baseline

    It's not in source data. It's a calculated field

  5. #5
    Registered User
    Join Date
    09-24-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pivot Chart adding a Trendline line or baseline

    The term "calculated field" was foreign to me but after looking it up I get it now. Thanks for your help.

  6. #6
    Registered User
    Join Date
    11-13-2015
    Location
    Waterloo, IL
    MS-Off Ver
    2013
    Posts
    3

    Re: Pivot Chart adding a Trendline line or baseline

    This worked perfectly - Thank you so much!

  7. #7
    Registered User
    Join Date
    11-13-2015
    Location
    Waterloo, IL
    MS-Off Ver
    2013
    Posts
    3

    Re: Pivot Chart adding a Trendline line or baseline

    Does anyone know how to use this same method with multiple items in the data set?
    I want to show 98% as the baseline for the "State" field and the chart shows the sum of the baseline for each state I have. Is it possible to just have the one baseline across the top as mentioned in the spreadsheet above?
    snap00259.jpg

  8. #8
    Registered User
    Join Date
    11-13-2015
    Location
    Waterloo, IL
    MS-Off Ver
    2013
    Posts
    3

    Re: Pivot Chart adding a Trendline line or baseline

    I saw a similar thread below and was able to get what I needed from that. Here it is in case anyone else might need the information.

    http://www.excelforum.com/excel-char...vot-chart.html

+ 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: 2
    Last Post: 05-24-2013, 03:58 PM
  2. [SOLVED] Multiple Columns in Pivot Table (but don't show in Pivot Chart)
    By Gideon1973 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-23-2012, 10:57 AM
  3. Replies: 2
    Last Post: 04-16-2012, 05:06 PM
  4. Replies: 3
    Last Post: 09-11-2010, 06:55 AM
  5. Replies: 2
    Last Post: 08-05-2010, 11:40 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