Solved

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

Posted on 2014-07-24
4
1,593 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SendBlaster Pro 4 - Bulk Email Sending Software

SendBlaster 4 Pro - Best Bulk Emailing Sending Software
Automatic Subscribe / Unsubscribe Processing
Great for Newsletters & Mass Mailings
Optional HTML & Text Composition
Integration with Google Features
Built in Spam Score Checking
Free Professional Templates - Feature Packed!

Question has a verified solution.

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

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

738 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