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.
Related
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.
I am working on power bi desktop for visualizations. I have SQL server dataset which is on my local machine. I have connected the Data using import connection mode of power bi and loaded the data set into my power bi desktop. I have installed gateway to make connection of my on premises dataset to the power bi service. I have successfully made the connection as well. But when I come to publish my reports It never gets published (taking ages to publish) and just keeps loading for hours that will get published but they never get published.
When I connect the dataset using Query mode connection the reports get published but I cannot further create calculated tables and play with measures and columns effectively.
While in Import connection mode I can do everything except publishing my reports.
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'
It doesn't seem possible to connect Power BI Desktop to Insightly although there's a content pack for Power BI Service.
Is there a workaround, if we need to build a data model and/or add calculated measures? E.g. use the content pack for the service and then connect Desktop to Power BI service?
Or any better suggestion? Thank you for helping with this!
You could always connect by finding the URL being passed in the Power BI service and use that as a Web data source from Power BI desktop. That way you'd be able to create your data model.
There are additional details here which guide you through the insightly portal.
https://learn.microsoft.com/en-us/power-bi/service-connect-to-insightly
There is a section within the above named "Finding Parameters" here it goes through how you can access the insightly portal. Additionally there is information around how to access the insightly API. Please note there is daily limit on the number of calls to this API.
select User Settings from the Insightly profile menu and scroll down.
This string of characters will be used to connect your data to Power BI.
Insightly API documentation can be found here:
https://api.insight.ly/v2.2/Help#!/Overview/Introduction#ratelimit
An example of an API call using the Power BI Web data source is as follows:
https://api.insight.ly/v2.2/Contacts
Using the key which can be found under the "Finding Parameters" tab you're able to populate the below: