+ Reply to Thread
Results 1 to 7 of 7

Calculated Fields in Chart

  1. #1
    Registered User
    Join Date
    02-18-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    26

    Calculated Fields in Chart

    Hi All!

    I have created a pivot table with two data fields and a calculated field. However, when I try to create a chart from that pivot table, somehow the calculated field does not shows up in chart. I am not sure what am i doing wrong. Till now, i have not tried writing a code, i was just trying to insert a chart so that i could create a combination chart.

    Could somebody please help me!!

    Please Login or Register  to view this content.
    Last edited by VBA Noob; 03-14-2009 at 11:11 AM.

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

    Re: Calculated Fields in Chart

    Does the field display in the chart when done manually?

    Can you post example workbook.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    02-18-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Calculated Fields in Chart

    No, the field does not get displayed even when i try to insert a chart manually.

    Could you please help me?

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

    Re: Calculated Fields in Chart

    So if the field does not show up normally what makes up think a coded solution can make it appear?

    I think you may need to create a normal chart based on the pivot table.
    http://peltiertech.com/WordPress/reg...-pivot-tables/

  5. #5
    Registered User
    Join Date
    02-18-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Calculated Fields in Chart

    I know, that much i realized. That is why i did not take the trouble of coding it. I have already been through that article you have mentioned.
    My question is why does this happen? Is it because I am trying to show percentage value with other two data fields which are not %. Though I am almost sure, that is not the reason because I tried to display only that data field in a chart, but still that value did not appear. I am not sure what to do next.

    What do you think are the options that i have now to display it?

  6. #6
    Registered User
    Join Date
    02-18-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    26

    Question Re: Calculated Fields in Chart

    I just recorded a macro and found this code, which plotted the chart atleast for one month!

    But when i try to use the code to achieve for the entire pivot, it again does not plot the third data field! Plus it gives an error for the formatting part.. Please help..

    Please Login or Register  to view this content.

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

    Re: Calculated Fields in Chart

    It could be that calculated fields are not included in the pivot chart.

    It's impossible to tell whether you can create the chart any other way as we don't know what the source data layout looks like or the chart you are trying to create.

    Can you post example workbook detailing what you are trying to do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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