Solved

How do I change datasource for Pivot TAble(Power Pivot/Query)

Posted on 2014-07-24
4
1,467 Views
Last Modified: 2014-08-21
I have an existing workbook that includes 2 worksheets linked to a SQL database, Using Power Query I appended these 2 worksheets to create the datasource for the Pivot Table (Pivot Data).  I need to modify this data source to include another column, which I orginially hidden. I was able to change the Query to include this column and upon review of the Pivot Data, the column is visible.  However, I am unable to get the Pivot Table to include this new column as part of the Table..

Also I attempted to change the Connection, without success.

How do I modify the connection or Pivot Table to include the necessary Columns without having to recreate the Pivot table from scratch?
0
Comment
Question by:Karen Schaefer
  • 2
4 Comments
 
LVL 17

Expert Comment

by:Barry Cunney
ID: 40217297
Hi
To modify the connection details for an existing pivot table in Excel 2010 please do the following:
- Click anywhere in the actual pivot table - a PivotTable Tools ribbon should be visible
- Select the 'Options' tab
- Then halfway across the ribbon you will see a 'Change Data Source' toolbar button
0
 

Author Comment

by:Karen Schaefer
ID: 40217410
Turns out I seem to have a lot of duplicates How do I find out which one contains the correct fields?

K
0
 
LVL 14

Accepted Solution

by:
Zack Barresse earned 500 total points
ID: 40232214
Hello,

You're contradicting yourself, and it gets very confusing. The thread title is misleading versus what you're actually asking for. Barney's answer would be appropriate for the heading alone, but not for the rest of what you've asked. Also, in Excel 2013 it's the ANALYZE ribbon tab. It would be helpful to know what version you're using.

For what you're asking you'll need to do a few things:

1) Adjust the Power Query to remove duplicates (unless you can do it from SQL as the source)
2) Refresh the model and query (I'm assuming you're loading it directly into the model, not the worksheet then model)
3) Refresh your PivotTables and add the desired column, which should now be visible in the Field List.

HTH

Regards,
Zack Barresse
0
 

Author Closing Comment

by:Karen Schaefer
ID: 40277442
thanks for your comments however, I no longer need support on this issue
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question