I am working on a power bi report which is embedded in a portal. I need to display live GPS live locations of vehicles in a MAP based on a company that user has access to in the portal. basically every user will have a company associated to them and I'll use rowlevelsecurity for doing this.
A third party application will give access to live streaming data through a API. Is it possible to connect to a third party application API from power bi and show gps locations? If it is possible, how can I do it? I am totally new to this. please help me with any documents/scripts. We have power bi pro license.
For your use case you will not be able to do it all in Power BI, you'll need to push the streaming data to some sort of database, Azure SQL Server/Azure Cosmos DB/Azure Databricks using Event Hubs and maybe Streaming Analytics as well. So for example your stream sends the data to the event hub endpoint, then sends it to a database, then Power BI reads it.
You can then link a Power BI report to that database and set it up in Direct Query mode, and then set the page refresh on the report. Depending on the type of service your period of refresh for none Embedded/Premium workspaces will be 30mins or more, and not 'realtime'
Related
I was searching for some info on retrieving data from PLC to Power BI dashboard. It was suggested to use API for data upload from PLC. Power BI is then get all the info from API. The example videos was removed and i can't find any related examples.
Is the any guidance project on this or maybe some better solution than accessing API ?
Here are a few other examples of projects that demonstrate how to retrieve data from a PLC and display it in a Power BI dashboard:
"Power BI and PLC Data Integration"
(https://www.plcdev.com/blog/power-bi-and-plc-data-integration/)
This project uses an OPC UA server to collect data from the PLC and send it to a database, and then uses Power BI to connect to the database and display the data in a dashboard.
"Power BI Dashboard with PLC Data"
(https://www.youtube.com/watch?v=8ZWwLZt5_JQ)
This project uses a Raspberry Pi as a gateway to collect data from the PLC and send it to a database, and then uses Power BI to connect to the database and display the data in a dashboard.
"Real-time PLC data visualization with Power BI and Python"
(https://www.youtube.com/watch?v=S1pZ7V_C_6U)
This project uses python script to collect data from the PLC and send it to a database, and then uses Power BI to connect to the database and display the data in a dashboard.
Please note that these are just a few examples, and there may be other ways to achieve this, depending on your specific use case and requirements. It's also possible to use other services such as InfluxDB, Grafana, or even a simple database like MySQL to store and retrieve data.
My business doesn't like using Direct Query. They believe in putting all data in to Power BI via the 'Import' option. This means that whenever our team wants to refresh the data in a Power Bi dashboard, they must:
Download the .pbix file from the SharePoint where they're published.
Open that file in Power BI desktop.
Click to refresh the data from our SQL server.
Re-publish the dashboard.
This has to be done for every single dashboard that we have. This is plainly absurd.
Can either Power Apps or Power Automate be used to refresh several dashboards at once? I don't know what licensing I have for Power Apps, but when I went through the list of connections that the web version let me use, I saw no options for Power BI. As for Power Automate, I saw no way to access my dashboards.
If your data is hosted in your internal network, you need to install the Data Gateway on a machine in your network. You can then use that data gateway for scheduled refresh and don't need to download/refres/upload the pbix file.
The Data Gateway is a free download. You can find links to that in the menus of the Power BI online interface.
I am trying to send output of my response from Azure logic app withhttptriggerto Power bi data source and generate visuals whenever there is a positive or negative response from my logic app design flow.
What data source can I select in Power bi desktop version?
Is there API which can be used for same purpose? If yes, please provide the API details as well.
I tried to do it in online version but I need to do it for desktop version of Power bi
whenever there is a positive or negative response from my logic app design flow.
You can use a condition connector placed before to perform this requirement
What data source can I select in Power bi desktop version?
There is no direct connector that may help you to generate reports but there is a vast area from where you can send the data to particular storage and generate the reports from there. For Example, you can save your data to Azure blob storage through logic apps and then get the data from Azure blob storage to generate reports from power bi. Below are all the ways where we can get the data to generate reports.
The present power bi Connector in the logic app may help you to Use Power BI REST API to add rows to a dataset, Use Power BI Rest API to initiate export for Power BI reports, and other few actions. But there is always an option to do our own custom connector for power bi from logic apps through Custom connectors.
For more information regarding this, you can refer Create a Custom Connector for Logic Apps using the Azure portal - Microsoft Tech Community
Here is a tutorial where data is sent to the Azure SQL Database and the reports will be generated from Azure SQL Database.
Can I use Power Automate for Direct Query data refresh in Power BI?
Will it be faster than the Enterprise Gateway Direct Query Connection?
For direct query you don't need to have any power automate flow to refresh the data,
if your dataset is connected to the gateway then it will automatically get the latest data whenever the user interact with the report.
Data refresh required if you have import mode
FYI, even if you use power automate the refresh the data it happens via gateway itself, so pls go ahead with the regular process.
I know it is possible to adhoc refresh the data on power bi desktop but unlike on power bi online I am unable to find a way of creating a scheduled refresh. I have looked into personal gateways but unable to find a suitable solution. I want the data to be refreshed daily and this data is coming from a postgres database in Amazon Web Service where the data is updated daily.
Power BI desktop(local) have only manual refresh, scheduler is not available in desktop power bi when you want to implement scheduler then follow this link
how-to-configure-schedule-refresh-in-power-bi-reports
when you established a connection using the database and create report and publish on app power bi from power bi desktop after that apply scheduler then it will reflect data changes on every refresh.
Cheers.