PowerBI Preview cannot refresh workbook with Azure SQL datasource - excel

I've been working on creating workbook and share them on PowerBI Preview service, and today I found that I couldn't schedule a refreshment on my workbook.
Inside this workbook, I connect with my data source(Azure SQL database) by using the Excel PowerQuery. At the moment that I add the scheduled refreshment, I got the message:
you can't schedule refresh because this dataset contains data sources that do not yet support refresh.
Does anyone see why this didn't work, any help will be really appropriated.
Answer: I should load directly my data into a data model instead of into a worksheet, now the refreshment works fine!
Now I got another question, I have two tables like below
Table devices.
deviceid, network_type, location, language
id001,wifi,us,english
id002,gsm,france,french
id003,wifi,italy,italian.....
Table data consuming.
deviceid, volume_consuming, date
id001, 200, 04-03-2015
id001,300, 04-05-2015
id002,500, 04-06-2015
id002, 600, 04-05-2015
id003,800, 04-03-2015
id003, 1000, 04-06-2015
I need to calculate average data consuming per device and aggregate by date, then I created this table below
Table aggregation by date
date, avg_data_per_device
04-03-2015, 500
04-05-2015, 450
04-06-2015, 750
Now comes my question, I want to add some filter to my graph which is based on the third table, since there are no deviceid in this table(it's an aggregation table), can I do some manipulation under PowerBI to acheive this, does anyone have any ideas please, thanks in advance !!!

There are two common issues you might be hitting. First, to use SQL Azure in Excel workbooks with refresh, you'll need to use the Power Query UI to build the query (if you specify a custom query it won't work). Second, if you have other queries that load data from excel worksheets it won't work either. Would suggest pairing down your queries until you have just one for SQL Azure. If that all doesn't fix the issue, then you should use the "Contact Support" feature in the Power BI UI that's under the question mark icon.
Appreciate your using Power BI,
-Lukasz
http://dev.powerbi.com
http://blogs.msdn.com/powerbidev
Make a feature request: https://support.powerbi.com/forums/265200-power-bi
Sign up for Power BI: http://www.powerbi.com

Related

Row limit issue when connecting Excel to Azure Synapse

There is a use case in my company to enable business users with no technical knowledge to use the data from Azure cloud. Back in the SQL server days this was easily solved through OLAP cubes. You could write a query for data that's backing up the cube, and then business people could just connect to the cube and data was downloaded as a pivot table, the only problem with large datasets there was compute (the larger the data, the slower the pivot table) but not really the row limit.
With the current Azure Synapse set up it seems that Excel is trying to download the entire data set and obviously always hits a 1M row limit. Is there anyway to directly use the data in the pivot table without bringing it in full to Excel? Because all my tables are >1M rows.
UPD: You can load data directly to Pivot, but it does load the data to RAM and the actual loading takes time. I am looking for a similar to cube solution, where the pivot table is available immediately and the querying happens once you're adding fields and calculations to the pivot table.

Excel create multiple MS Queries using one data connection between two sheets in the same workbook

In Excel 2021, what exactly is a "data connection", "query" and "domain source name"?
Let's say I have a Workbook "Manahil_Customer_Database.xlsm" in which I have a sheet "sht_Customer_Cities" that has a table "tbl_Customer_Cities". In a new sheet "sht_Report" I want to run two queries using one connection via MS Query. Now when I go through the MS Query route I get one Domain Name Source File "Manahil_Customer_Database.dsn" and one MS Query file "Customer_Countries_Cities.dqy" and one Connection file "Customer_Countries_Cities.odc".
However when I look at the "Queries & Connections" it says 0 Queries and 1 Connection named "Customer_Countries_Cities". I want to be able to establish a single Data Connection via MS Query from the "sht_Report" to the Workbook "Manahil_Customer_Database.xlsm" and than run multiple queries using the same connection.
Power Query replaced MS:Query from Excel 2016 onwards. The objects and panes you are describing relate to Power Query, not MS:Query.
Power Query is far more functional, reliable, flexible and performant than MS:Query.
For example depending on your exact requirement, you might create a base query that gathers all the required data, then refer to that base query in Reference queries that filter the output needed for each destination table.
Here's a starting point for Power Query:
https://support.microsoft.com/en-us/office/about-power-query-in-excel-7104fbee-9e62-4cb9-a02e-5bfb1a6c536a
Power Query is a MS tool that assists you on your ETL tasks.
As read in a previous answer, it is based on M language.
To be able to import / modify / connect your data, the command is:
DATA / GET DATA and select your input
Check this link for a quick introduction:
https://learn.microsoft.com/en-us/power-query/power-query-what-is-power-query
If I understand the situation correctly, you are working internally, within a single excel file. Data connections, queries, and domain sources, are all used to associate externally.
Internally I would think you could use a pivot-table and/or a slicer.
If you provide additional details on what specifically you are trying to do, a better answer could be provided.
Some additional reading below may help further:
Power Query Help
Data Connections
Queries
External Links

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.

SSAS Tabular data refresh

I am developing SSAS Tabular project for Power BI, as part of requirement I need to automate the below process
1. Every week I have to delete last two weeks of data in SSAS Table
2. Update last two weeks of data.
Thanks in advance
Please advice
For this, you have to create an SSIS Package to delete the last two weeks of data and then process the cube.
Your SSIS Package to delete the last 2 weeks of data.
Schedule to process your SSAS cube.
SSAS Tabular, Power Pivot, Power BI don't provide facilities to allow a partial refresh, sliding window or any other type of refresh other than full data refresh (Power BI premium does but assuming you're not using that).
You need to control the data getting into the data model by controlling the data in the source tables underlying the model.
This is commonly done using SSIS, TSQL and/or stored procedures.

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.

Resources