Tabular SSAS Analyze in Excel error - excel

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.

Related

Export Data Connection Query from Excel to CSV (>2M rows)

I have a spreadsheet that is using power query in a data connection to execute modelling on CSV files that have more than 2M rows.
This works fine and I can run analysis on this data as needed.
However, now I want to export the resulting data after all the manipulations have been made.
I can't see a way to export the data query result without outputing to a sheet... which I can't... because the row count is >1M.
Can I export the data without outputting to a sheet/multiple sheets?
If so, what tool would I need (if any) and what are the general steps?
I've been trying to work this out on my own for months but I have to recognise my limitations and ask for help now.
Many thanks in advance.
DD
You need to use an external tool like DAX Studio (free) to connect to the Power Pivot data model and export the tables to CSV.
https://daxstudio.org/
As David mentioned above, Dax Studio will output the results of the data model.
Steps as follows:
Download and install the Dax Studio plugin for excel
Make sure the connection you are trying to extract is in the data model.
Launch Dax Studio.
!!!Dax Studio will only be able to read your data if you launch it from the Add-ins tab of Excel. This is the only data source type where access to the data is dependent on how Dax Studio is launched. Again, YOU MUST LAUNCH THIS FROM THE ADDINS MENU OF THE EXCEL DOCUMENT CONTAINING YOUR QUERY/CONNECTION.
A dialogue box will appear. It should show data source "Power Pivot Model" as the radio selection. If it is greyed out, it means that you have not added your query/connection to the data model.
Select "Connect". You will now see all the tables in your data model on the left hand side and may now extract to csv.

Why is using Power Pivot getting the Data Model deleted in 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.

excel refresh microsoft query and graphs at the same time

I am running Excel 2016, using Microsoft query connecting to sql server retrieving some data into a pivot table and creating a graph, this works fine.
I have a cell that I can change the date I am interested in, the underlying data then changes, but I have to right click on a graph and say refresh.
Is it possible to have the graph refresh when the data does? I have seen examples of charts changing when the data is in excel, but can't seem to find anything when pulling from an external data source.
thanks

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.

Power Query : Data Source Connection issue

I am using Power Query for Excel and I am trying to connect MySQL database which is hosted on AWS. While trying to connect, I am getting an ERROR in query editor saying "DataSource.Error: Object reference not set to an instance of an object."
My Excel and Power Query both has 32-bit version.
Is there any issue in setting up Data Source?
Thanks
Just had the same problem. 64 bit Excel and latest version of PowerQuery. The cause of mine was that I had copied and pasted the output of a PowerQuery query into a new Excel sheet. This created a shadow second data connection invisible to the PowerQuery pane.
To fix it I had to go to the Data ribbon > click Connections, highlight the second query (named [YourQueryName]1) and click the Remove button. After that things went back to normal.
You may want to Send-A-Frown from inside Power Query to get in direct contact with the developers.
Please check that you have the latest version of Power Query installed. It might help to upgrade MySQL drivers too.

Resources