+ Reply to Thread
Results 1 to 2 of 2

Add columns with 'local' data in an SQL linked table

  1. #1
    Registered User
    Join Date
    04-23-2015
    Location
    Kunming, China
    MS-Off Ver
    2013
    Posts
    11

    Add columns with 'local' data in an SQL linked table

    I have linked an SQL view to excel which consists of 5 columns. This data changes every week but this particular export needs some additional data which should manually added for each record/line in the table.

    So I insert two columns in this table right? Looks like this:

    Column1 (SQL) Column2 (SQL) Column3 (SQL) Column4 (SQL) Column6 (Manual input INT) Column7 (Manual input INT) Column5 (SQL)
    201611 100963-1-1611 M1 199 M102

    This list extends a couple hundred rows. Basically someone is adding Integers (number between 1 and 7) in column 6 & 7 which should be tied to this record/line. Here the problem emerges. When I hit refresh or reopen the file, the values I entered seem to randomly jump to a different record/line. Since the data in this table is very dynamic and changing day to day I can't go about copy paste stuff out of it. The next step is to put this data in a pivot table on a 7x7 grid (hence the particular data input). Since this number allocation is very much a human judgment, the information in the line is essential to determine the integer value, this part can't be automated or come from an external source/linked table; it's the very reason I'm exporting the data to excel.

    I am completely lost to what the cause of this is and how I can solve/work around this.

  2. #2
    Registered User
    Join Date
    04-23-2015
    Location
    Kunming, China
    MS-Off Ver
    2013
    Posts
    11

    Re: Add columns with 'local' data in an SQL linked table

    I should add to this that I have been re-organizing my data through filters and sort-orders which are reset upon refresh. This seems to be related to the cause but I suppose there must still be a way to 'tie' the data to the specific record.

+ 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 table linked with 2 formula columns
    By viola38 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-03-2016, 12:27 PM
  2. Replies: 1
    Last Post: 04-30-2014, 02:58 AM
  3. Columns Outside Pivot Table But Linked to PT
    By ccbank in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-13-2012, 01:01 AM
  4. Linked data table
    By Thanksinadvance in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2011, 11:48 AM
  5. Losing data in linked table
    By csimnionio in forum Excel General
    Replies: 0
    Last Post: 04-21-2010, 06:34 PM
  6. Data Table linked to Pie Chart Dynamically
    By binar in forum Excel General
    Replies: 1
    Last Post: 07-28-2009, 03:00 AM
  7. Replies: 3
    Last Post: 12-19-2008, 08:42 PM

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