Python script inside Online PowerBI Pro - powerbi

I have read some tutorials about the Python integration inside Power BI reports. This tutorials works on Power BI Desktop.
I have only tried on online version of Power BI (power BI pro). The "P" icon is avaiable in visualization tool box but it does not show me python prompt in the bottom of the screen.
I suppose python is supported on Power BI pro because the icon is present ?
Any idea ?

The python editing experience is limited in the Web service, as well as other report creation tools.
You use Power BI Desktop to create your report which has the Python editor and access to the Python installation on your PC. Once created you load it to the service, then it will work. You may need to use a Personal Data Gateway if you are using a Python script in Power Query.
Limitations are outlined here:
https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/
Pro doesn't replace desktop, the device is mainly used for collaboration and sharing, as it has limited report editing and creation tools and can only link to a limited number of data sources.

Related

How to migrate AAS/SSAS cube to Power BI premium?

We have few cubes located in on-prem SSAS and on AAS (Azure analysis services). The report connect to the cube via live connection.
We are planning to migrate the cubes into the Power BI Premium workspace.
I want to ask - how do I migrate the cube from analysis services to Power BI Premium? Do I publish the model from visual studio analysis services project into Power BI premium workspace? Or do I convert the visual studio analysis services project into .pbix based data model?
Hi Easiest way is to migrate using Tabular Editor
First in power bi make sure you have enabled XMLA endpoint read write enabled in the tenant. Refer below SS
Get the analysis services url and click on From DB and paste the AAS url
Be mindful of the compatibility level Recommending to put it into 1565 range
After this deploy into the premium workspace.
Get the wokrspace connection string from below mentioned place.
Paste it in below.
Deploy by picking following settings.
And Deploy.
Deploying the code like #amelia suggested is a great way to migrate and the answer was extremely well written. For AAS there is a new built-in migration process which backs up and restores the AAS model to Power BI. Then it enables redirection so that existing Excel reports (or other client tools) automatically are redirected to Power BI.

connect powerbi to external webapi without using the desktop tool

is it possible to connect powerbi web to an external webapi without using the powerbi desktop and create a report totally online, without installing the thesktop tool
Currently you can only build a Dataset in the Power BI Service from flat files. Everything else requires using Power BI Desktop to build your Dataset.
Once you have a Dataset you can build reports in either Power BI Desktop or on the web.

Dependencies between SAS EG and Microsoft Office

I am currently researching the dependencies between SAS EG v. 9.4 and Microsoft Office.
More specific, if we upgrade from Office 2016 to Office 365, would then the following commands still work in SAS EG as designed:
libname excel_file.xlsx
proc export excel_file.xlsx
ods excel
Also, is the SAS Microsoft Office AddIn relevant for the above mentioned commands? Or does SAS EG need this AddIn to run them?
Thank you for your help!
I have used SAS EG with O365 with no issues. O365 just lets you have the most current Office but still installs Office, mostly, like normal. It also provides web services that are very useful.
I have used O365 for years with no issues. SAS Office Add-In surfaces the SAS Integration Technologies in Office and puts a nice UI on them in the ribbon. It is not a dependency for any of the commands you list. It just makes working with SAS, from Office, easier.
SAS Integration Technologies is required for EG so you have that. SAS Access to PC File Formats is also something you have already.
Also, see this if you want to use the Office REST web services:
https://blogs.sas.com/content/sasdummy/2020/07/09/sas-programming-office-365-onedrive/

Can PowerBI be integrated with Azure Powershell

If I have Azure Powershell cmdlets, can their outputs be directly streamed to Power BI for rendering with visuals?
Thanks!
You may have a look at following link:
https://www.sqlshack.com/connect-query-power-bi-azure-using-powershell/
which may give you a good basic introduction on what you possibly can do with powershell & PowerBI. Range of features and method options may vary depending on cmdlets powershell library package you install. Some options may still run but are listed as deprecated... Also Power BI REST API seems to be the new main driving engine in most scenarios, so you may need to priorly proceed with an AAD App Registration first in order to get any further expected result. Hope this helps.

Export custom visualization into .pbiviz for PowerBI desktop import

I know it's possible to create your custom visualization in Power BI Dev Tool and use it in PowerBI.com but is it possible to export a visualization created in Visual Studio into a .pbiviz file and import it in Power BI for Desktop?
In VSCode, this action can be performed by typing the following into the integrated terminal
pbiviz package
You can find the .pbiviz file in the dist folder once compiling is complete.
The .pbiviz file you create from the Power BI Dev Tools can be used in both the Power BI service and Power BI Desktop. You might need to update your Power BI desktop build with the latest. Then you'll see the "..." icon in visualization pane and you can import any .pbiviz files you have. https://powerbi.microsoft.com/en-us/desktop
We do not have the ability for Visual Studio (the GitHub project really) to generate a .pbiviz file. Now a .pbiviz file is just a zip archive, so you might be able to create a gulp tasks that build compatible .pbiviz files right from a Visual Studio build. We have this in our backlog, but we'd be really thankful should you (or someone else) submit a PR with this capability to the Microsoft/PowerBI-visuals repro.
http://wwww.github.com/Microsoft/PowerBI-visuals