Export custom visualization into .pbiviz for PowerBI desktop import - powerbi

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

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.

Failed to save modifications to the server in Power BI

Can someone help me with the error: Failed to save modifications to the server. Error returned: 'The following system error occurred: Class not registered
'.
I am getting this while loading the excel/csv. I tried uninstalling the application quite many times but no luck, I still see the same issue
Can you please share the source from where you downloaded the Power BI?
If you have downloaded from Microsoft windows store, try uninstalling it and then reinstall Power BI with installer instead of Microsoft Store version from the official website.
Download the version of Power BI Desktop that matches the architecture (x86 or x64) of your Windows OS. Run the MSI installer and follow the setup steps.
Microsoft Power BI Desktop is available for 32-bit (x86) and 64-bit (x64) platforms.
Thanks!
It could be server to desktop version mismatch. Are you using power-BI report server or cloud service? What is the version of your desktop power-BI?
Are you using any custom connector?
It seems to me the compatibility issue.
The last thing I would request you to check is the size of the file you are trying to publish.

Python script inside Online PowerBI Pro

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.

Tabular Model: Import data in compatibility 1400

Hope you are doing well.
I really need your help.
I am trying to create a tabular model in Azure analysis service with SSDT 2017.
Data is in Azure SQL Server.
I chose the compatibility 1400 and I saw the database objets.
But when I try to import data from the database I have an error "error ole dB".
I have also created a model with compatibility 1200. And all runs well with this compatibility.
Do you have any Idea on how to solve this issue ?
Please check your Azure SQL database compatibility level.
In SSMS, right-click the database name > Properties > Compatibility Level.
For more details, please reference: Compatibility level for Analysis Services tabular models.
Set the compatibility level 140 and try again.
Hope this helps.
Please try the latest version of SSDT 2017 (15.9.0). Download and install from here. Before installing SSDT for Visual Studio 2017 (15.9.0), uninstall Analysis Services Projects and Reporting Services Projects extensions, and close all VS instances.
Another possible solution is to try SSDT 2019. If you do not have VS 2019 download and install the Community version, then install the Analysis Services extension.