+ Reply to Thread
Results 1 to 7 of 7

How can i change the series in chart based on pivot table?? please suggest..

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

    Question How can i change the series in chart based on pivot table?? please suggest..

    Hi i am having a problem when plotting a chart using pivot table as a source.

    Now my problem is, in my pivot table i have a column nested in a column. Say for every month i have another column nested which has 2 distinct values. so i have month and within every month i have billable and not billable.

    Also, i have project in rows

    Now, when i want to plot a column graph on billable and billable the range it is taking has 4 items in series (since i have only 2 months data), nov billable, nov not billable, dec billable and dec not billable. I dont want that!!

    I want only two.. billable and not billable in series..
    also, i want months in x - axis..

    So basically, I dont want project (rows) in my chart. but Month(Column level1) in x-axis, and aggregated value of billable/not-billable as series.

    I have no clue how to do it.. i have to do it using vba. i am trying to create a chart but am not able to..

    Also, as i am trying again and again to achieve this, many times the chart automatically populates itself from the pivot table.. i am not setting the source to pivot table. i dont understand how it is working.. please provide an insight!!

    Please help me!!
    Last edited by ruchi; 02-19-2009 at 03:57 AM. Reason: Suitable title!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: chart problem!!! help please!!!!!!!!!!!!

    Welcome to the forum.

    1. Please take a few minutes to read the Forum Rules about thread titles, and then edit yours to make it descriptive of your problem.

    2. Why does it have to be done in VBA?

    3. Post a workbook?
    Last edited by shg; 02-19-2009 at 02:26 AM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    01-18-2005
    Location
    Auckland New Zealand
    MS-Off Ver
    Office Professional 2007
    Posts
    295

    Re: chart problem!!! help please!!!!!!!!!!!!

    Could you create a second pivot table just for charting which has billable and non-billable as the *first* column data, not the second?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: chart problem!!! help please!!!!!!!!!!!!

    Mike, please don't post in threads with pending moderation.

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

    Re: How can i change the series in chart based on pivot table?? please suggest..

    We want to automate the creation of pivot table and chart based on the table. That is the reason i need to do it with VBA.
    Attached Files Attached Files
    Last edited by ruchi; 02-19-2009 at 04:23 AM. Reason: Workbook attached

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

    Question Re: How can i change the series in chart based on pivot table?? please suggest..

    can somebody please help me on this ??

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

    Re: How can i change the series in chart based on pivot table?? please suggest..

    Do you mean like this?
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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