+ Reply to Thread
Results 1 to 4 of 4

Re: Pivot Tables,Sliders, blank rows and expanding source data help

  1. #1
    Registered User
    Join Date
    09-01-2013
    Location
    Hull, England
    MS-Off Ver
    Excel 210
    Posts
    4

    Re: Pivot Tables,Sliders, blank rows and expanding source data help

    Hi All,

    I'm fairly new to creating complex Excel charts and Pivot Tables so would be grateful for any advice on the following problem:

    I am creating an Excel Dashboard to report on various Key Performance Indicators held in a SQL database.

    A separate programme exports the data on each KPI from the database to an Excel Sheet. These Excel sheets are overwritten each day so other than the source data cannot contain any bespoke formatting.

    Over time the data in each of these Source Data Sheets will grow.

    I was intending to cerate a number of Intermediate Data workbooks which link to the Source Data workbooks but in which I can perform calculation and format the data perform these workbooks then act as a the source for the Pivot Table.

    My problem is when linking the Intermediate Workbooks to the Source Workbooks I need to take account in the growth of data so I am referencing cells A1:B5000 even though there is only currently data contained in Cells A1:B10.

    However when I then create my pivot table and filter this using sliders on Year, Month and Quarters. I then get a list of all date years going back to 1900. Which is something I don't want.

    I have tried hiding blank rows but of course while this does not display the blank rows they still form part of the calculation.

    Is there another way to either take account of the growth in data or to format the Pivot Table and or Sliders to only report on non blank rows.

    Thanks
    JK

    PivotTable.xlsx

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Pivot Tables,Sliders, blank rows and expanding source data help

    perhaps you could use an external query as the data source for the pivot table rather than using a one range consolidation-that will permit you to specify a sheet as the data source, which will be treated as a table and return whatever data is in it
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    09-01-2013
    Location
    Hull, England
    MS-Off Ver
    Excel 210
    Posts
    4

    Re: Pivot Tables,Sliders, blank rows and expanding source data help

    Hi Joseph,
    Thanks for your reply. Unfortunately I have two issues with doing it that way.

    Firstly I have about 20 Reports that are run so to create the Pivot I am using the Multiple Consolidation Ranges. I assume you can only select one data source so would I have to copy the data from all sheets into one?

    Secondly I have tried selecting one of the sheets as a data source but I get an error cannot read file. Its a .xlsx file is this not a valid data source.

    I have never used an external data source with a pivot table before (this is my first time using pivot tables).

    Thanks
    JK

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Pivot Tables,Sliders, blank rows and expanding source data help

    a pivot table can certainly use an xlsx file as a data source-I don't know what your issue is there

    I've gotta say this sounds really inefficient as a setup-are you able to change any of it?

+ 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. Change Pivot Source Data in multiple pivot tables
    By jacol in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-20-2014, 06:18 AM
  2. is it possible to link together sliders from different pivot tables
    By lmendizabal in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-21-2012, 08:24 AM
  3. Replies: 3
    Last Post: 02-27-2012, 08:03 PM
  4. Source Data in Pivot Tables
    By cqc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  5. Source Data in Pivot Tables
    By cqc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 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