+ Reply to Thread
Results 1 to 2 of 2

Pivot Table

Hybrid View

  1. #1
    Registered User
    Join Date
    03-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1

    Pivot Table

    I am preparing a comparison sheet in which i am comparing values for 3 ids. For this, I am pulling data directly from the SQL database and making a pivot (external data query). For almost all the time, I would have ids (which are user input in excel) in the database, however, there can be a case where one of them might not be present.

    I am using ids as a column field in pivot. So whenever there is no data for one of ids in the database, it disappears from the pivot but i want to see all of them in the pivot even if it shows no values for the id which was not present in dB.

    Is there a way to achieve that. Can i deliberately enter a non-existent value in the pivot items of a column field?

    Any help and suggestions on this is appreciated.

    Thanks,
    Hemant

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: Pivot Table

    To the best of my knowledge, a PT will only pull data that exists. So if a particular ID does not exist, then the PT will not pull it. If the info is in the database sometimes, why is it not there at other times?

    I have a data link to access into excel, but that creates an actual data table in excel, and i base my PT's off that data
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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