Power Pivot Refresh Errors - excel

I have a power pivot model that links its data to an external excel document. Every month I have to update the excel document with new data coming in.
In the past when trying to update it would somehow "forget" it was connected to that data source. But by re-establishing the connection I could refresh.
This month it again wouldn't refresh but re-establishing the connection didn't work. I was wondering if the issue was with the excel document so I tried to re-upload the document as a new table and it worked fine, I even managed to refresh it.
I can't use that new one, though, because it would take way too long to re-establish all the connections and pivot tables
So, to be clear, when I refresh the table I get the following error message.
But when I try to test connection I get this error message.
What could be causing it not to refresh if the connection is there?
Edit: When I click on error details it tells me to check the connection.

Related

Power Pivot error when getting data from ACCESS query

The data I was using in EXCEL pivot tables suddenly went beyond the row limit for EXCEL; Went to 1.7 million rows. Now I need to use power Pivot but have the following issue. I have a query (view) in ACCESS that adds a lot of derived fields to transaction data for year, month, day, etc, so the user doesn't have to add those. It's a straight up Select query. I go into Power pivot and chose databases then ACCESS, set the path to the ACCESS database, and the test is successful. When I go to the tables or views I see the query in the list.But after selecting it, when I hit next to load the data I get the following error:
"OLE DB or ODBC error: ODBC--connection to 'LDODBC' failed.; 3151.
An error occurred while processing table '1ACTMasterQuery'.
The current operation was cancelled because another operation in the transaction failed."
I am using linked tables in the ACCESS app using an ODBC pipe named LDODBC, and none of those show in the list of tables or views. Do I need to set a connection string? There is no good explanation I could find on the web. What part don't I understand.
Thanks
I would strongly recommend NOT to connect to a query. Save the query result into an Access table first. Then connect to the saved table from PowerBI - it will be simple, fast and robust.

PowerPivot - how to "freeze" data?

I apologise if this has been asked before - I have searched the internet endlessly for an answer.
I have several Excel files which connect to Databases via PowerPivot - I use PowerPivot to manipulate the data before producing various PivotTables in Excel.
Every month, the source Databases are update with the latest month's data and with any existing records updated for their latest status.
I want to be able to keep Excel files for each month that I can go back and run new PivotTables if I need. However, I want to ensure that it is not possible for the user to Refresh the PowerPivot connection as otherwise the original data will be lost. Is this possible?

How to ensure that data connected to external source has been refreshed

I have created an excel file which acts as a daily reporting tool and accesses data from an Access database. I have selected the option of refreshing data when workbook opens for all connections. However, today in the morning, when I opened the workbook, only a part of the data got refreshed. I suspect that it might be due to the fact that I was using wireless internet. A second attempt at refreshing the data was successful so there is nothing wrong with the data sources
So my question: is it possible to receive some sort of a confirmation when all the data has been refreshed? I thought about making a query in Access which returns today's date and then connecting this query to a cell in Excel. However, this does not solve the problem because this query result might get updated but the others might not

Refreshing Data Connection not Refreshing connected Pivot

I have a workbook that connects to several different external sources.
I have code in place that individually refreshes each connection. They all have Enable Background Refresh unchecked.
I have Pivot Tables connected to each of these sources. And while refreshing the connection updates these PT's usually, today I had one Pivot that did not do so.
Do I need to add code to individually refresh each pivot, too? I'd like to avoid that if it's uneccesary, because otherwise I'd be refreshing each pivot twice (once when the connection updates, and then again immediately after). Not trying to add extra delays to the already long refresh process.
Thoughts? Thanks!

Pivot Table does not refresh automatically after refreshing the OLAP cube. Excel 2007

I have a workbook connected to an external OLAP cube. Previously, when I connected to the external data source and then refreshed all, every pivot table would refresh and show the new data. Now, if I connect to the data source and refresh the pivots, the pivots do not update with new data. The only way I can get it to update is if I manually click in one of my filters then click ok. For some reason, this triggers a connection to the cube and the pivot refreshes with the new data. Any idea why this might be happening? I'm at a loss and it's extremely time consuming to have to manually click in each pivot. Thanks.
I got around this by making my own refresh button that just sends simple queries to the cube for each pivot I wanted to be refreshed and that solved the issue.

Resources