+ Reply to Thread
Results 1 to 10 of 10

Power Pivot and Data Model theory

  1. #1
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Power Pivot and Data Model theory

    Hi,

    I have 4 spreadsheets, duplicate table structure with unique employee names and id's. Table rows for each are between 400K and 680K rows. Because of the sizes I am unable to combine the sheets into one table.

    I would like to combine the tables/data to make one pivot table.

    I have only been looking at Power Pivot and Data Model for the last day or so but I am having trouble grasping the concept.

    I think I get it when unique tables and data are used.

    But I can't find anything online that shows me if what I want to do is possible with either PP or DM.

    I am attaching a spreadsheet with two mini tables and a sample of the kind of pivot I am interested in building.

    If someone can explain or show me if combining data like this is possible I would very much appreciate it.

    Regards, Brenda
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Power Pivot and Data Model theory

    I would either load the data to MySQL or SQL (or access but no thanks) and pull THAT table into PowerPivot OR combine the 4 tables into ONE CSV then pull that CSV into powerpivot. I use the CSV method all the time when I need to make a quick pivot on a huge dataset but dont want to mess around with and loading the data to a proper database (and I am pulling the data from an archaic database).

    Read this.
    http://www.powerpivotpro.com/2012/09...erpivot-table/
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Power Pivot and Data Model theory

    Hi,

    If you have Power Pivot, you should be able to use Power Query, in which case you can append all the tables into one query and use that as the data source for Power Pivot, all without leaving the workbook.

    It does however sound as though an alternate data storage option might be wise.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Power Pivot and Data Model theory

    Thank you mikeTRON! I read the article and with a little work I managed to successfully implement the CSV method. And somewhere in those travels I came across this - http://www.contextures.com/PowerPivo...cel-Files.html
    In all honesty I do prefer the Contextures method with one exception - the error I keep getting when I try to edit the SQL statement as per the Contextures site.
    First, I am not clear on why this is done. And I don't know how to resolve the error I am getting and Googling/Youtubing it hasn't shed any light on it.
    I am attaching a snagged image of my error.
    If you can help me out again with one or both of these dilemmas I'd really appreciate it.
    Thanks for your time.
    Brenda
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Power Pivot and Data Model theory

    Thanks xlnitwit.
    It appears that Power Query is an add in?
    If so I am unable to download it at work because our systems are locked.
    I have however tried both the CSV and Contextures techniques but as in my reply to mikeTRON I am unable to resolve an error I am getting with SQL validation. Maybe you might accept my challenge and help me figure it out?
    Thank you for your reply earlier today, regardless of whether you look at this SDQL issue.
    Your time and interest is very much appreciated.
    Regards, Brenda

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Power Pivot and Data Model theory

    As far as I am aware, if Power Pivot is available to you in 2013, it will already be installed by default. You need only enable it in the COM add-ins section.

  7. #7
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Power Pivot and Data Model theory

    No, it's only available in 2016. It needs to be installed in 2013. And again, at work that isn't an option unfortunately.

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Power Pivot and Data Model theory

    To my knowledge there is no download for 2013. You either have it or you don't, dependent upon the SKU of Office that you have.

  9. #9
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Power Pivot and Data Model theory

    Quote Originally Posted by BDD2015 View Post
    In all honesty I do prefer the Contextures method with one exception - the error I keep getting when I try to edit the SQL statement as per the Contextures site.
    It looks like you are using ' instead of ` like the Contexture example. Is that the issue?

  10. #10
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Power Pivot and Data Model theory

    Hi, again mikeTRON

    That was exactly the problem - an apostrophe instead of an accent grave. Thank you.

    Maybe you can help me finish this task?

    I have successfully connected the first two workbooks. But variations of the SQL statement for last two so far haven't been successful.

    Do I connect the 3rd and 4th workbook to each other or are they connected to WB #1 or #2?

    Thanks, Brenda
    Last edited by BDD2015; 11-04-2016 at 09:53 PM.

+ 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. Cannot Group pivot made from Data Model
    By michellepace in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 07-15-2018, 04:17 PM
  2. Selecting Column Data in Pivot Table (from Data model)
    By derickz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2016, 11:35 PM
  3. power pivot table - Data model
    By pccamara in forum Excel General
    Replies: 2
    Last Post: 04-18-2016, 11:20 AM
  4. pivot tables vs. power pivot for large data set
    By stephme55 in forum Excel General
    Replies: 3
    Last Post: 02-08-2016, 05:40 PM
  5. adding a calculated field to power pivot data model
    By stephme55 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-26-2016, 07:13 PM
  6. Power Pivot with multiple pivot charts using different pivot data
    By Paul-NYS in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-10-2013, 10:18 AM

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