+ Reply to Thread
Results 1 to 8 of 8

Excel 2016 - Power Query - Data Model Loading issues/explanation

  1. #1
    Registered User
    Join Date
    04-08-2017
    Location
    BKK
    MS-Off Ver
    Office 2016
    Posts
    23

    Excel 2016 - Power Query - Data Model Loading issues/explanation

    Hi Folks,

    Not too sure if this is a bug or something but I realize that not all my DataModels load to a New Query in a New Workbook.

    This is what I'm doing.

    1) I created data models within each workbook (there a total of 5 workbooks). I load all as data models as connections
    2) Created a NewWorkSheet to host all the other 5 workbooks

    Somehow I can't find some of the data models when I'm connecting via ' New Query -> Workbook".

    Here is what I noticed:
    1) Some of the data models can be detected and load onto the New Workbook
    2) As for those that can't be detected, I've to load as a table. And when I try to connect via New Query, I'll see both connections from the table and data model.

    Do anyone know why some of the data models can be detected while some have to be loaded as the table before it can be detected?

    Thanks

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,893

    Re: Excel 2016 - Power Query - Data Model Loading issues/explanation

    I think you are mixing up few things.

    1. Data model is associated with PowerPivot. Connection can be brought directly into data model or can be brought in via PowerQuery and then loaded to data model.
    2. Those that are directly brought into PowerPivot data model are not present as Query (since it is technically not part of PowerQuery's process).

    For consistency sake, and for ease of transforming data etc. I'd always recommend creating connection from PowerQuery (Get & Transform), then loading it to data model.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    04-08-2017
    Location
    BKK
    MS-Off Ver
    Office 2016
    Posts
    23

    Re: Excel 2016 - Power Query - Data Model Loading issues/explanation

    Thanks @CK76

    My bad is 930pm now ... You're right, i'm trying to connect via PowerQuery but as mentioned, i can't seem to see all the connections from some of the files whereby I load the data.

    Which is why, for those i can't do a connection, I load onto Sheet instead of Connection and somehow this works. But when i connect to the new Workbook, i'm seeing both the Data model & the same set of data i loaded onto the Sheet (Is not really a big issue yet since is still less than 1.6mil rows of data)

    I guess my question here is, why some of the workbook works and some dont?
    Hope i'm explaining myself clearly .

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,893

    Re: Excel 2016 - Power Query - Data Model Loading issues/explanation

    Are some files exported from some external program?

    I ask, since some 3rd party software that claims to export data as Excel file, actually exports as HTML file with .xls/.xlsx as extension.

    Those file will need to be connected to differently than normal Excel file and requires extra step (I remember posting about it a while back, but can't find the thread right now).

    Other than that, I've never encountered issue where PQ wasn't able to connect to Excel file.

  5. #5
    Registered User
    Join Date
    04-08-2017
    Location
    BKK
    MS-Off Ver
    Office 2016
    Posts
    23

    Re: Excel 2016 - Power Query - Data Model Loading issues/explanation

    Nope, all the 5 files are export via PowerQuery and everything is done within Excel thus is I'm even more curious how this is happening.

    After which i created a Master file (Excel) and connect all 5 files there

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,893

    Re: Excel 2016 - Power Query - Data Model Loading issues/explanation

    If you can upload sample workbook where connection is failing. I can take a look at the cause. Other than that, I'm out of ideas.

  7. #7
    Registered User
    Join Date
    04-08-2017
    Location
    BKK
    MS-Off Ver
    Office 2016
    Posts
    23

    Re: Excel 2016 - Power Query - Data Model Loading issues/explanation

    Sure, i can try sending you the files . Let do this offline, what is your email ?

    Thanks alot

  8. #8
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,893

    Re: Excel 2016 - Power Query - Data Model Loading issues/explanation

    Ok, PM has been sent with email address.

+ 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. [SOLVED] power query issues on formating
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-15-2017, 02:27 PM
  2. [SOLVED] Power Query "add this data do data model" refresh issue
    By wrybel in forum Excel General
    Replies: 1
    Last Post: 03-09-2017, 08:26 AM
  3. [SOLVED] Power Pivot and Data Model theory
    By BDD2015 in forum Excel General
    Replies: 9
    Last Post: 11-04-2016, 09:45 PM
  4. SQL Query loading in MS Query but not importing data to excel
    By sharper1989 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2016, 09:52 AM
  5. [SOLVED] SQL Query loading in MS Query but not importing data to excel
    By sharper1989 in forum Access Tables & Databases
    Replies: 0
    Last Post: 05-19-2016, 09:31 AM
  6. power pivot table - Data model
    By pccamara in forum Excel General
    Replies: 2
    Last Post: 04-18-2016, 11:20 AM
  7. automate power query update from new tab (office excel 2016)
    By ajnuna in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2016, 07:27 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