+ Reply to Thread
Results 1 to 3 of 3

Excel Pivot Table from SQL Server cannot show non-aggregate

  1. #1
    Registered User
    Join Date
    06-14-2017
    Location
    Singapore
    MS-Off Ver
    2010 2013 2016
    Posts
    11

    Excel Pivot Table from SQL Server cannot show non-aggregate

    Hi guys.

    I believe many would have tried to do the same - I want to make excel show the result of a few sql server tables, joined based on the specified relationship. Better still if there's a way to make excel display the results of a specific sql query. I need to save this excel file and whenever I refresh data connection it should update from sql server.

    I gave pivot tables a try, adding connection and inserting pivot table. However pivot tables seem to be meant for other purposes and it sums up values which I want to display as text. I tried dragging the fields I want into Rows, and report layout > show in tabular form, but this won't work if i'm dragging a field from another table.

    I think the ideal situation is that I can make excel display the results of a particular sql server query. Otherwise, some guidance with pivot tables to achieve the same would be greatly appreciated

    Thanks!!

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Excel Pivot Table from SQL Server cannot show non-aggregate

    Pivot tables are designed to aggregate data. What you want is a query table. In 2016 it's the Get and Transform tools, previously known as Power Query.
    Rory

  3. #3
    Registered User
    Join Date
    06-14-2017
    Location
    Singapore
    MS-Off Ver
    2010 2013 2016
    Posts
    11

    Re: Excel Pivot Table from SQL Server cannot show non-aggregate

    Thanks. I'm exploring the New Query function now.

+ 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. Creating a pivot table using aggregate counters and flags
    By bdav1216 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 03-04-2017, 01:49 PM
  2. How to used pivot table to aggregate this request?
    By darbebo in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 07-05-2016, 01:44 PM
  3. Pivot Table disable aggregate sum, keep sum only? confused!
    By cesarmontoya in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-15-2013, 02:19 PM
  4. Replies: 3
    Last Post: 08-31-2012, 12:40 PM
  5. Excel 2007 pivot table does not aggregate properly
    By patrick23 in forum Excel General
    Replies: 0
    Last Post: 03-03-2011, 06:38 PM
  6. pivot table to aggregate values
    By excelism in forum Excel General
    Replies: 1
    Last Post: 07-13-2010, 08:54 AM
  7. [SOLVED] get SQL Server text data type into Excel pivot table
    By Lee@360Commerce in forum Excel General
    Replies: 0
    Last Post: 08-19-2005, 07:05 PM

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