+ Reply to Thread
Results 1 to 4 of 4

Filter chart

  1. #1
    Forum Contributor
    Join Date
    11-09-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    390

    Filter chart

    Hi All,

    I have a data set (attached file) I would like to create a chart that allows me to select different parameter and sample ID and display the result over time (for example select ammonium OUTFLOW results over time which need to be dates). I have used pivot chart but have the following problems:

    1) It does not let me to select scatter chart type
    2) when I select 'Add this data to the Data Model' pivot use count value and not supporting sum but if I don't select 'Add this data to the Data Model' it uses sum for value type but dates will be shown as year,quarters and months and not days.

    Any idea how to fix the pivot or create a chart to simplify my data set?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Filter chart

    1) Scatter chart isn't available for Pivot Charts. You could plot regular chart based on pivot table range using intermediate table/range. But I'm not sure what you want to plot as x axis (date isn't normally used in category axis of scatter plot). If it's date, I'd recommend using Text() function to use dates as fixed category.

    2) You can change Values aggregation method by clicking on the field (in field selection pane), and using "Value Field Settings". For grouping, you can right click on the row label, and choose "Ungroup" to show individual dates.

    0.JPG

    If you need bit more help, manually create sample scatter plot that you want to show and upload. It isn't clear to me what end result you are trying to achieve here.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Contributor
    Join Date
    11-09-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    390

    Re: Filter chart

    Thanks CK76. I have plotted the expectation chart in the attached. I would like to see this when I select ammonium RawOUT and OUTFLOw and same for other parameters. Pivot chart does exactly what I want to see but not in the scatter or marker and shows Bars, Columns and lines.
    Attached Files Attached Files

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Filter chart

    Here you go.

    1. Add Named Range for Pivot Range.
    pvtRng
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    2. Create intermediate data table (LinkedPvt!M1:O15) Extend range as needed.
    In M1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy down and across.

    3. Add named ranges for chart series formula using same concept. See Serie1_..., Serie2_... & h_axis named ranges in attached.

    Replace Series 1 (OUTFLOW) formula with...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Adjust as needed.

    See attached.

    Anything more dynamic, will either require more named ranges to be set up, or will require use of small vba code.
    Attached Files Attached Files

+ 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. Pivot Chart Filter
    By qiyusi in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-03-2016, 07:38 AM
  2. Pie Chart Filter by name
    By ixodioxi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2014, 10:22 AM
  3. Update Chart Title using slicer to filter chart
    By redil855 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2014, 10:18 AM
  4. Apply a filter to a chart?
    By brucemc777 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-20-2013, 01:02 PM
  5. Data chart follows filter
    By chris0228 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2012, 02:51 PM
  6. Pivot Chart filter
    By jmccullough in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-02-2009, 10:25 PM
  7. Filter a gant chart
    By thomson in forum Excel General
    Replies: 1
    Last Post: 09-06-2007, 05:45 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