+ Reply to Thread
Results 1 to 2 of 2

Some columns gets blank in pivot source data

  1. #1
    Registered User
    Join Date
    06-23-2018
    Location
    Delhi
    MS-Off Ver
    2010/2013
    Posts
    1

    Some columns gets blank in pivot source data

    I have existing excel (ver 2010) with pivot. This excel is refreshed programmatically from c# application.

    The pivot is created with OBDC with sql stored procedure (which returns the sql table after performing some business logic) to pull the data.

    When the excel is refreshed programmatically from c# application it gets refreshed without any errors.

    When I double click on the total of the pivot table the underlying data is displayed.

    This is working fine.

    Recently new columns are added in the resultset of the stored procedure.

    When the excel is refreshed programmatically from c# application it gets refreshed without any errors.

    When I double click on the total of the pivot table the new columns are appearing in the underlying data but now some of the existing columns are appearing completely blank (I have checked by executing the stored procedure, the data is returned properly).

    If I manually refresh the pivot (by going to Data->Refresh ALL) it appears. But I want this to happen programmatically (since this columns are existing columns)

    I cannot set the "Refresh Data on opening the file" as this file is send to the other users where the dsn will not be there.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    17,913

    Re: Some columns gets blank in pivot source data

    Rule 08: Cross-posting Without Telling Us

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question. If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    If you have less than 10 posts, do not try to copy and paste the link. Instead, type the link out in your thread.

    No further help to be offered, please, until the OP has complied with this request.

+ 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. Calculating Std Dev on Pivot Results (Not Source Data) Across Columns
    By tbregan17 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-21-2018, 03:54 PM
  2. [SOLVED] Change Data Source of Pivot Tables, Omit Blank Rows/Columns
    By hchavous in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2018, 09:07 AM
  3. Replies: 0
    Last Post: 01-06-2016, 07:00 AM
  4. Replies: 2
    Last Post: 06-23-2014, 11:05 AM
  5. Re: Pivot Tables,Sliders, blank rows and expanding source data help
    By Jaime1234 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-09-2013, 12:06 PM
  6. Replies: 2
    Last Post: 03-07-2013, 02:16 PM
  7. Hidden columns in pivot table source data
    By Kaigi in forum Excel General
    Replies: 2
    Last Post: 07-17-2009, 09:34 AM

Tags for this Thread

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