+ Reply to Thread
Results 1 to 2 of 2

Prevent Line Chart Made from Pivot Table to Fall to Zero

  1. #1
    Registered User
    Join Date
    10-01-2012
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Office Professional Plus 2019
    Posts
    34

    Prevent Line Chart Made from Pivot Table to Fall to Zero

    Hi guys. Does anyone know how to prevent a line chart built from a pivot table to fall down to zero which makes the cart showing as if the performance dropped really bad? Understand that maybe one of the solutions is to make the chart not from a pivot table, but I cannot do that since I need to be able to filter the chart using other dimensions/fields in data (in my sample is the "Subscription" field, but in my real case I have more than one dimensions/filters need to be present in the chart) which as far as I understand cannot be done on a line chart made not from a pivot table. Have tried to change the zero performance records to #N/A but since I need to make the line chart from a pivot table, it just made the line stops at an earlier x-axis (to be precise, at the point where all fields are not having #N/A values). Have also searched on the internet for a solution but seems solutions that I found so far are only for the line chart not made from a pivot table. Here I also attach the Excel file for a clearer understanding of my question. Hope anyone can answer. Thanks!
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Prevent Line Chart Made from Pivot Table to Fall to Zero

    In the event that you have upgraded to a more recent version of Excel since you joined in 2012, I believe that you can get the graph you want by using Power Query (Free add-in from MicroSoft for the 2010 and 2013 versions and standard with 2016, 2019 and the 365 subscription versions).
    The table modeled in columns A:F on the PQ Table sheet is produced using the following Advanced Editor code:
    Please Login or Register  to view this content.
    The Pivot Table and Chart are produced from the table and are also on that page.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 1
    Last Post: 10-10-2016, 01:17 PM
  2. Trying to Make Complicated Line Chart from Pivot Table
    By brandnew22 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 08-15-2013, 02:59 PM
  3. Scaling of a line chart off a pivot table or macro?
    By 11linc11 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-05-2013, 05:38 PM
  4. VBA target line using pivot table bar chart
    By Turmoilz in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-28-2013, 05:44 AM
  5. Replies: 2
    Last Post: 11-14-2012, 08:59 AM
  6. add Trend Line to Pivot Table Chart
    By Matt D Francis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-27-2006, 11:30 AM
  7. Chart Base Line in Pivot table
    By smonczka in forum Excel General
    Replies: 0
    Last Post: 04-14-2005, 11: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