Solved

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

Posted on 2014-07-24
4
1,420 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now