Why is using Power Pivot getting the Data Model deleted in Excel? - excel

I am using Power Pivot to do some analysis and then make Pivot tables from the data model. There are more then 1 interconnected tables. The tables have been created using Power Query. The relationships are created using Power Pivot.
After my work is done and the Excel File is closed, the data model gets deleted. I can see that as the file size gets reduced. Also when I open the file and try to modify the pivot tables receive the following message: " the connection for this pivot table has been Deleted". The queries that were created using power query do not refresh either (Shows: Download Failed).
When I open the Power Pivot for Excel window, it does not show any tables in it.
I am using Microsoft Professional Plus 2016. Already Repaired MS Office.
Would really appreciate if any one can help.
Thank you.

Looks like this problem is caused because of Power Pivot Crashes. Found this blog https://exceleratorbi.com.au/does-the-power-pivot-excel-add-in-crash-for-you/, followed the steps and that seems to solve my problem for now. Its interesting that this problem is there since long and Microsoft has not been able to solve it yet.

Related

Excel Share a report with someone without access to refresh SSAS

I've created a report that uses SSAS to create a Pivot table. I have to authenticate with username/password when I refresh it. Once it's refreshed I want to send it to someone else.
However when they open it they can't drill down in the Pivot table because it asks them to authenticate as well.
I can't remove the connection from the file because then you don't have the data for the Pivot so it doesn't let you drill down either.
Is there a way to work around that, to make the Pivot table available for use (to drill down, no need to change the fields) to the other person?
If you want to provide a self-contained Excel file with the detail data to support an interactive PivotTable then please look at Power Pivot. In newer versions of Excel it is called the Excel Data Model. You load the model with detail data, define your calculations and relationships between tables. The data is compressed and stored in the Excel file so except during refresh from your relational source (which you could do before sending the Excel file) the user doesn’t need any access to servers.
You will have to rebuild the data model in Power Pivot. If your SSAS model is a Tabular model then the concepts should be pretty similar.

How can I refresh an OLAP table in the background? I have a table in powerpivot that is linked to a SQL database

Please can you assist me? I have a table on Powerpivot that is linked to a SQL database. I'd like it to refresh even when the file is closed so that when users read the dashboard that's linked to the dataset, its the latest version.
Please can you help me? I have Excel 2013. Can Excel 2016 run background refresh? Thanks in advance :)
Even in Excel 2016, you have to have the file open to update the power pivot model.
Your only real options are either write some VBA which opens the file runs the update, then saves and closes the file. Then have that run on a schedule.
The VBA involved would be below which loads the model, then refreshes it
ThisWorkbook.Model.Initialize
ThisWorkbook.Model.Refresh
The other option, though I have never used it, is Power Update which is a third party program for automating Power Pivot updates.
Link to a blog post talking about it:
https://powerpivotpro.com/2015/02/introducing-power-update/

Export large Powerpivot table without data connection

I'm on Excel 2013
Is it possible to EXPORT a powerpivot table and have FULL pivot table drop down functionality without the connected data?
1) I'm using slicers as filters and want to export specific files based on the Filtered Names
2) Would non Power Pivot / Power Query users be able to view my workbook? (I'm thinking probably not)
I've scoured forums and stackoverflow and was unable to find a clear answer.
I've tested it myself and disabled connection and it looks like the LAST format the PowerPivot table was showing would be the view/data that the user sees.
I agree with your test results. Anyone on Excel 2016 / Office 365 should get full functionality.
You might want to try the free Power BI service, where you can upload your Power Pivot model to the cloud and then connect to it using the Power BI Publisher Add-In.
https://powerbi.microsoft.com/en-us/documentation/powerbi-publisher-for-excel/#connect-to-data-in-power-bi
You can set a CSV file with your data as your data source in powerpivot and just point your data model at the CSV. I do this to slim down big models. The data lives in the powerpivot cache level but is not a literal tab in your workbook also much smaller footprint. Works like a tiny database connection. Go to the powerpivot screen choose "From other sources" on the home ribbon, and scroll to the bottom for a text file or CSV. Easiest way to make a pseudo-data mart.
I guess I am not sure what you mean by export the table, The pivot would show without the data connection, but without the full model behind it in the data layer changing anything would just lock it up.

Tabular SSAS Analyze in Excel error

I've created a new Tabular Project with SSDT2015 and deployed it on a SSAS2012 named instance, from Management Studio I'm able to connect to the SSAS database and with an EVALUATE command I can see the rows of deployed tables.
If I press Analyze in Excel from SSDT appears a window Analysis Services Connector 13 asking me to choose between Analysis Server and Cube file.
I've tried both options but clicking on finish I can see a grayed out Excel sheet with no connection available.
If I try to connect to SSAS from a fresh Excel using From Analysis Service option, filling the required info leads me to the following message "No data fields are available in the OLAP Cube". Can someone suggest me a way to solve this issue ? Best regards Fabrizio
I was able to solve this problem by adding a Measure to a table in my cube, something like AVERAGE('Table'[Field]) or SUM('AnotherTable'[AnotherField]) over a number of rows. After I added this I was able to load my cube in Excel as a pivot table.

MS Excel - Pivot Table - Accessing the source data when it isn't a tab in the spreadsheet

I have a spreadsheet that is emailed to me by an outside vender. It contains a bunch of pivot tables. I really couldn't care less about the pivot tables, I just want the underlying data. The data comes from a sql server that I don't have access to, but the data is stored within the spreadsheet. Is there anyway that I can access the data, (I think it's the PivotCache) directly without drilling into one of the pivot tables?
I'd love some sort of ODBC/ADO.Net command that I can use from SSIS. But am open to just about anything that doens't require me to open and save the workbook.
I'd also like to avoid macros if at all possible.
Here's the answer. Or at least what I did to resolve my problem.
There is really no way to accss the underlying PivotCache data except via pivot tables. So direct accss was out. I ended up using a script task with excel ole to dynamically create a pivot table with the data I needed at run time. Once the script task is done, I then use the new pivot table as my dataflow source. Excel can be a little tricky to automate, but it's worth it.

Resources