Power Query link to power pivot is lost

Hi
As I'm starting using PowerQuery to import big text files into Power query (thanks to this forum help!) I bumped into an issue: sometimes the link betweek a Query and the Datamodel tab is lost. Which means that the next time I refresh the query data, a new
tab will be created into the datamodel instead of using the previously generated tab.
As I've added calculated columns and measures into the first tab, this is obviously an issue. I haven't renamed the query in the process (which I found out would always create a new tab with the new name in the datamodel).
Can someone explain to me why this happens and if there is a way to connect back a specific query to a given datamodel tab?
Thanks!

Hi
As I'm starting using PowerQuery to import big text files into Power query (thanks to this forum help!) I bumped into an issue: sometimes the link betweek a Query and the Datamodel tab is lost. Which means that the next time I refresh the query data, a new
tab will be created into the datamodel instead of using the previously generated tab.
As I've added calculated columns and measures into the first tab, this is obviously an issue. I haven't renamed the query in the process (which I found out would always create a new tab with the new name in the datamodel).
Can someone explain to me why this happens and if there is a way to connect back a specific query to a given datamodel tab?
Thanks!
If the link is lost inside Power Query, should this be moved to the Power Query forum? Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it!

Similar Messages

  • Issue consuming Odata feed with Power Query (not in Power BI)

    I am trying to consume an OData feed from an SSRS report using Power Query ( latest release on Excel
     2010 x32). The Report server is in my company intranet.
    In the SSRS report, I can generate an Atom service file. When I use this file in PowerPivot, I can successfully import the report data and refresh it on demand. But I
    would like to do the same thing in Power Query using the "From OData feed" feature.
    1. I have tried supplying the URI to the service file
    = OData.Feed("file:///C:/Users/Bdarbonneau/Documents/temp/Manuf_cycle_time_mapping_table.atomsvc")
    I get this error : 
    DataFormat.Error: The supplied URL must be a valid 'http:' or 'https:' URL.
    2. I tried supplying the URL that the service file contains, but without success. 
    = OData.Feed("http://myssrsserver:8080/ReportServer?%2FMANUFACTURING%2FArchive%2FManuf_cycle_time_mapping_table&rs%3ACommand=Render&rs%3AFormat=ATOM&rc%3AItemPath=Tablix1")
    I get this error:
    DataFormat.Error: OData: The given URL neither points to an OData service or a feed
    Am I missing something, or is what I am trying to do not supported ? 
    Regards,
    Bertrand

    My Current workaround for pulling data from SSRS until the dev team have worked out the odata issue is to pull the report in as a csv file:
    Csv.Document(Web.Contents("http://Servername/ReportServer?/SummaryReport&rs:Command=Render&rs:Format=Csv")),
    I also tried pulling an excel file from SSRS with no success.
    Tried:
    Excel.Workbook(URL)
    Excel.Workbook(Web.Contents(URL))
    Excel.Workbook(File.Contents(URL))
    Excel.Workbook(File.Contents(Web.Contents(URL)))
    if anyone has had luck pulling in an excel file from SSRS i would like to know how.
    Is there a rough release date for the odata functionality?

  • Project Online Reports - Power Query vs. Power Pivot

    Does anyone know offhand if I use PowerQuery to build a data model for Project Online, all users viewing the report in Excel will need to use Fiddler to refresh the data, right? I'm beginning to get the sense that although PowerQuery makes it easier to build
    the data model, the report becomes not as useful when being opened in Excel...
    Thanks,
    Roland

    Hello,
    I've not heard that before. If you create a PowerQuery (PowerQuery for Excel) report then users will be able refresh the data in the Excel client. You should also be able to schedule the refresh if you have PowerBI on the tenant:
    https://support.office.com/en-ie/article/Schedule-data-refresh-for-workbooks-in-Power-BI-for-Office-365-7d6d2816-7fb0-4c5f-a353-d5bd13124985
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Refresh Pivot Bug in Power Query version 2.16.3822.242

    I have an Excel file with Power Query and several Pivot Tables built from the Power Query data. The Pivots are built from the table loaded to a worksheet, and there is a timeline date slicer connected to all those various Pivot Tables.
    In build 2.16.3822.242, refreshing the Pivot Table (either by right-click/Refresh, or programmatically via macro) causes the date timeline slicer to disappear (literally be deleted from the sheet).  The Pivot Refresh succeeds fine.
    This does not occur when using Power Query Version: 2.16.3785.242. So for the time being, my only workaround is to avoid installing the newer build.
    Any ideas what's causing it?  I told my coworker (the primary user of the file) that she could still use the file and go filter every pivot's date range separately, rather than the slicer, but that is laborious and for now she is just going to remote-desktop
    into a computer that doesn't have build 3822 installed yet.
    Shawn Keene

    Hey Ed, I apologize for un-proposing your answer so quick, I was on my Windows Phone but the forum loading spinner wouldn't leave the text entry field, so I couldn't input a reply until I got home.
    I actually found a solution just today. This may not be the 'only' solution, but it worked well.  When I had previously thought I had a solution, it only 'worked' because my subsequent refresh after making the table change didn't add any new rows of
    data (all the rows it would have returned that day were already there).  Today I made the change and then refreshed, and the new rows were formatted as the Power Query intended them to be.
    The settings I used were to set the table to "do not preserve formatting" and to "overwrite existing cells for new data, clear unused cells". Now my inserted Power Query table is plain white (no banded lines or colors), but I don't care
    because it's on a hidden sheet that no one will ever see.
    Here's the table settings that seemed to work well for me.
    And to be honest (although I haven't extensively tested), I think this was only a problem if the table was created using an old version of Power Query, then refreshed with the new version.  Anyway, now I can easily refresh my Query and then the Pivot
    from it without trouble.
    And since I suck at brevity:  I also think it'd be beneficial for me to re-create these workbooks and have the Power Query only add the data to the data model, and source the Pivot directly from that, rather than indirectly source the pivot from a populated
    table. Basically save a step, and then the Pivot will refresh together with the connection, rather than having to be refreshed separately after the query is done.
    In any case, I'm loving this tool and I'm practically a Power Query evangelist to every other department, because it empowers the knowledge worker to investigate data without waiting weeks for a DBA to have time to write a query and send results.  Plus
    we power this awesome real-time performance dashboard showing live KPIs of 15 metrics, and ditched our Domo.com account, saving upwards of 100k per year, just by using Power Query. Using nothing but plain Excel and Power Query, it publishes the graphics to
    our intranet and TVs around the builds live all day. It's amazing.
    Shawn Keene

  • Connecting Power Query to SharePoint Foundation 2010

    I'm looking to set up PowerQuery in Excel 2013 to link into the various lists on our SharePoint 2010 Foundation server.
    I have established the connection URL.
    The SharePoint Foundation 2010 server is on the same LAN I'm connected to, so I've opted for Windows Authentication.
    These two aspects of the setup appear to be fine: However at the point when Power Query links to the SharePoint server the following error is being returned.
    DataSource.Error: OData: The feed's metadata document appears to be invalid.
    Any ideas?

    Hi,
    We have forum for Power Query discussion and feedback. I will move your post to that forum:
    https://social.technet.microsoft.com/Forums/en-us/home
    The reason why I move your post is to get you the most qualified pool of respondents, and other partners who read the forums
    regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.

  • Using Power Query to import image files for Power View

    I am trying to use Power Query to import image data from a SQL Azure database for use in Power View.  I've selected both the source image table and the ?images table in the workbook query.  The files seem to load as binary data in the Power
    Query editor but when loaded to the data model with Power Pivot, the field becomes "text" type rather than binary.  Does anyone know the procedure to use  PowerQuery to load image files into PowerPivot?

    Hi,
    We currently do not support loading binary data from Power Query into the Power Pivot data model. This is something we'd like to address soon. For now, you will need to use the Power Pivot import capabilities if you want to achieve this.
    Sorry about the inconvenience - we will try to enable this feature over the coming months.
    Faisal Mohamood | Program Manager | Data Platform Group - Microsoft

  • Sharepoint 2013 support for power query

    Hi,
    I wanted to know whether SharePoint 2013 supports power query and can we refresh power query data from excel services.
    Thanks,
    Bhawna.

    Hi Bhawna.,
    According to your description, my understanding is that you want to know whether SharePoint 2013 support Power Query and refresh power query data from excel services.
    The  refresh of workbooks involving Power Query queries isn't currently available in SharePoint 2013.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/62b6384e-3120-40e2-9469-01c808530f55/does-sharepoint-2013-have-power-query-services-similar-to-power-pivot-and-power-view?forum=powerquery
    http://social.technet.microsoft.com/Forums/en-US/2da77984-5a97-4102-9119-97ecbc39f527/publish-power-query-workbook-to-sharepoint-2010?forum=powerquery
    In addition, I am not an expert for Power Query, you can create a new thread on the Power Query forum, more experts will assist you with this issue.
    Power Query forum:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=powerquery
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Calculating date from Unix Timestamp in Power Query

    So, I'm trying to analyse my Google Location History. I'm loading from the Google export file, through Power Query, into a Power Pivot data model.
    The file contains the datetime of each locational fix as a integer. This integer represents the milliseconds since the epoch, which is 1970-01-01:00:00:00.
    In SQL, this would be straight trivial. I'd get rid of the milliseconds, and do this:
    select
    dateadd(second,1410907851,'1/1/1970')
     and get
    2014-09-16 22:50:51.000
    So, basically, I have the seconds value in the table, and I'm 'hardcoding' the epoch, but that's fine.
    I'm sorry if I'm being stupid, but how on Earth do I do this in M in Power Query?

    Absolutely sensational. Thanks very much Curt, I was a very long way away from working that our for myself.

  • Power Query; How do I reference a Power Pivot table from a Power Query query

    Hi,
    It's pretty awesome how you can define Extract Transform and Load processes within Power Query without having to type in a single line of code. However how do I reference a Power Pivot table from a Power Query query to avoid me repeatedly accessing
    the same data source (CSV) file with a view to increasing performance?
    We are aware of the reference sub menu option with Power Query. However the new query created by the "reference" option still seems to refresh data from the data source (CSV) rather than just referencing the base query. Is this understanding
    correct? There does seem to be a lot of hard disk activity when re-running the new query which is based on a base query rather than a data source.  So we were hoping the new query would just need to reference the base query in memory rather than rescanning
    the hard disk. Is there any way to ensure that the reference query just rescans the base query in memory?
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    Hi Kieran,
    This sounds like something to be suggested for a future release. At the present time, Power Query will always re-run the entire Power Query query when refreshed. The Reference feature is analogous to a SQL view whereby the underlying query is always re-executed
    when it's queried, or in this case refreshed. Even something like using the Power Query cache to minimise the amount of data re-read from the disk would be helpful for performance but the cache is only used for the preview data and stored locally.
    It would be a good idea to suggest this feature to the Power BI team via the feedback smiley face.
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com, Twitter:
    @nimblelearn
    Hi Michael, 
    Glad to hear from you about this.  And thanks to Kieran for bringing a very good valid point to debate. Will be glad to see this in future release. 
    - please mark correct answers

  • Data loaded to Power Pivot via Power Query is not yet supported in SSAS Tabular Cube

    Hello, I'm trying to create a SSAS Tabular cube from a data loaded to Power Pivot via Power Query (SAP BOBJ connector) but looks like is not yet supported.
    Any one tried this before? any workaround that make sense?
    The final goal is pull data from SAP BW, BO Universe (using PowerQuery) and be able to create a SSAS Tabular cube.
    Thanks in advance
    Sebastian

    Sebastian, 
    Depending on the size of the data from Analysis Services, one work around could be to import the data into into Excel and then make an Excel table and then use the Excel table as a data source. 
    Reeves
    Denver, CO

  • Blank Record Appearing in Power Pivot, How do I ensure that my Power Query script is filtering out all the Blank Records

    Hi,
    I noticed once of my Fact tables in my Power Pivot model contains a blank record. I can't understand why.
    So I added a Filter expression to the underlying Power Query query, something like; -
    Text.Length("MyField") > 0
    However after refreshing the Power Query query which contains the above expression the blank record still appears within my Power Pivot table.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    hi..
    As my understand, the blank record in Power Query will be return null value . So that, You try to use Text.Length("MyField" ) <> null.
    Regards,

  • Does SharePoint 2013 have Power Query services similar to Power Pivot and Power View?

    Does SharePoint 2013 include services to host/support Power Query content similar to the way it hosts Power Pivot content in the Power Pivot Gallery? 

    Miguel.  Is there an update to this?  New information or new timeline?
    We have SP 2013 Enterprise, on-prem.  I'm finding that Power Query 's ability to get CSV or XML or other Web Services content, and then load it up to PowerPivot, is a way to address the lack of ODATA connectivity options on the web.  :-(
    I would very much like to be able to create an XLS doc, with a Power Query to a CSV file, Loaded to PowerPivot, and have SP's Excel Services/PowerPivot engine continue to update the content for me.  It fails today, as you stated above.
    Do you even think this will be updated for the on-prem version of SharePoint 2013 or will it only live in Power BI for Office 365?

  • The Power Query ribbon and the Power Pivot ribbon are gone !

    Hello,
    I created in Excel 2013, using Power Query, two large tables (more than 4 000 000 rows) according this principle: << However,
    the query pane that shows up on the side while data is loading lets you disable "load to worksheet". The data will continue to download. Once the download is done, you can click on "Load to Data Model" which will then get the data into
    the underlying xVelocity/data model.>>
    I built two calculated columns in order to create PRimary and Foreign keys for relations.
    I saved the xlsx file several times
    I Closed the xlsx file
    I reopened the xlsx file but, bad news, the
    Power Query ribbon and the Power Pivot ribbon are gone !
    I can check the the data connections are still there.
    What happened? What did I miss ?
    Thanks for your help
    Error message when I refresh connections :

    When I restart the computer, Power
    Query and Power
    Pivot ribbons come back. But if I enter a
    formula, they go away again.
    What could be the solution?

  • Power Pivot & Power Query

    I have very recently purchased yet another copy of Office, I now have every version from 97-2013, all Pro versions. I downloaded powerpivot for 2010 and that works fine. When I purchased (directly from MS) 2013 I thought powerpivot came with it as standard.
    I am agahst that it doesn't, I tried downloading it only to be told "I do not have the correct version"!!!
    What is going on MS?? nowhere does it say "CAUTION this Pro version does not have PowerPivot or PowerQuery, oh and what's more you can't download it either!"
    I am a developer who constantly hears from clients "I'm not having 2013..." maybe they know more than I do eh?
    Come on please play fair!

    Hi,
    Which Office 2013 version are you purchased? Office 2013 Professional or Office 2013 Professional Plus? As far as I know, Power Pivot & Power Query
    are available in the Office 2013 Professional Plus and Office 365 Professional Plus editions, and in the standalone edition of Excel 2013, not Pro version( If you only purchased Pro, you can't use them)
    Now Power Pivot is built-in add-ins with Excel 2013, we do not need to download it, just enable it.
    Go to File > Options > Add-Ins.
    In the Manage box, click COM Add-ins>
    Go.
    Check the Microsoft Office Power Pivot in Microsoft Excel 2013 box, and then click
    OK.
    https://support.office.com/en-us/article/Start-Power-Pivot-in-Microsoft-Excel-2013-add-in-a891a66d-36e3-43fc-81e8-fc4798f39ea8?ui=en-US&rs=en-US&ad=US
    http://office.microsoft.com/en-us/excel/download-microsoft-power-query-for-excel-FX104018616.aspx
    Hope it's helpful.Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Power BI - Office 365 data storage for Excel (Power Pivot & Power Query) architecture

    Hi, I trying to find a comprehensive view of the Power BI architecture, specifically where the data for Power Pivot & Power Query files are held. I've seen reference to the Vertipaq Engine and the data being stored in the Excel File, however this is
    in reference to 2010.
    Other references I've seen (SharePoint on premise with Power Pivot) have shown me that the data held in the Excel files on the SharePoint sites are actually held in SQL Server instances.
    Could anyone provide clarity on the architecture for Power BI please...
    Tim
    Thank you for you time folks!

    Hi Tim,
    let my try to explain this:
    When you load data into Power Pivot it is actually loaded into Vertipaq (in-memory column-store) and it resides there until you close Excel. Technically speaking Power Pivot is a single-user SQL Server Analysis Services instance hosted within Excel. When you
    close Excel a backup of the Power Pivot "database" is created and stored within the resulting .xlsx-file .
    Any user that has access to the Excel file also has access to the Power Pivot model, so there is actually no security
    This is very similar to any other excel file
    Once the Excel is stored in SharePoint / SharePointOnline and is access the first time the backup that is stored within the Excel is restored into SQL Server Analysis Services instance running in SharePoint Integrate mode
    all connections to the Excel-File are redirected to that SSAS instance. After some time of inactivity the model is unloaded from that SSAS instance again to free up the memory
    the data itself so basically always resides inside Power Pivot or respectively the Excel file
    Power Query only stores the actual query (= M-script) but no data
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

Maybe you are looking for