I am new to Power BI. I have a requirement where I need to create a Real-time Report.
My data is coming from Event Hub but we don't want to use Azure Stream Analytics.
So how can we do this?
You can use other opportunities like pubnub or create a small scheduled console application/script (and use the Power BI API).
More information for creating such an application can be found here: https://www.sqlshack.com/real-time-streaming-in-power-bi/
I worked on a demo report with similar requirement. To demonstrate how things will work, we created a real-time report that shows weather information like wind speed, temperature, etc live data.
To eliminate azure from the picture, we had to create a c# console application, which runs in the background and pushes the data in the database at a specified interval of time (in our case every 15 seconds) with a timestamp.
Related
I have card with count of table names, I need to create a jira ticket if card count goes beyond 10.
Getting into specifics is probably too much for this forum; however, as for general architecture, I think you may be able to use PBI Alerts and integrate them into a power automate flow that creates a JIRA ticket. The trickiest part will be the JIRA ticket creation which will probably require some kind of custom Azure App. The data driven power bi alert kicking off a power automate flow is a common pattern though so the first couple steps should be straightforward.
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-flow-integration
I need to automatically extract raw data of a PowerBI visualisation across multiple published reports.
Why not just pull the underlying dataset? Because the visualisations are using anomaly detection features of PowerBI, which include anomaly flags not available in the underlying dataset (basically, the visualisations contain calculated columns that are not included in main PowerBI data model)
Ideally a REST API solution would be best, but dumping CSV files or other more roundabout methods are ok.
So far, the closest functionality I can see is in the Javascript API here - https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/export-data, which allows a website to communicate with an embedded PowerBI report and pass in and out information. But this doesn't seem to match my implementation needs.
I have also seen this https://learn.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/tutorials/batch-anomaly-detection-powerbi which is to manually implement anomaly detection via Azure Services rather than the native PowerBI functionality, however this means abandoning the simplicity of the PowerBI anomaly function that is so attractive in the first place.
I have also seen this StackOverflow question here PowerBI Report Export in csv format via Rest API and it mentions using XMLA endpoints, however it doesn't seem like the client applications have the functionality to connect to visualisations - for example I tried DAX Studio and it doesn't seem to have any ability to query the data on a visualisation level.
I'm afraid all information on PowerBI says this is not possible. The API only supports PDF, PPTX and PNG options, and as such the integration with Power Automate doesn't do any better.
The StackOverflow question you link has some information on retrieving the Dataset but that's before the anomaly detection has processed the data.
I'm afraid your best bet is to, indeed, use the Azure service. I'd suggest ditching PowerBI and going to an ETL tool like DataFactory or even into the AzureML propositions Microsoft offers. You'll be more flexible than in PowerBI as well since you'll have the full power of Python/R notebooks at your disposal.
Sorry I can't give you a better answer.
My organization recently publish a PowerBI dashboard via the Publish to Web and an embed code. We have configured a daily refresh via a gateway running on a virtual machine that's always on. The data refreshes automatically daily. This is all successful and works well.
The issue we are running into is that the data seems to update incrementally on the embedded version. For example, data in one tab will update to the most current data, while changing a slicer selection will continue to display the previous day's data.
This is incredibly confusing, especially as it's a publish facing dashboard.
Is there a way to resolve this?
Thanks!
We embedded a report into web application and now a user want to build his
own dashboard from the report but pin a tile to dashboard option is
not available can we embed pin to dashboard option? Can we handle it
in API?
As we have email subscription (scheduled) for reports in power bi
service, how will we handle the same in our embedded application
side, if the user want to see the updated reports on daily basis which
should be scheduled automatically?
Power BI Embedded (PBIE) is PaaS, so you have to write you own code to handle some cases using official and legal SDK. PBIE doesn't work the same way as Power BI Services (PBIS).
As for you questions:
You can't do the same thing with pinning visuals into dashboard. It supported only inside PBIS.
You can't do this neither.
PBIE is more like engine, some core things that draw specific report into you app. There are no any features like report sharing or subscription. This is by design. Those features were implemented as part of PBIS and doesn't fit PBIE. You should implement something similar on your app level.
Play with PBIE and explore SDK playground.
We are publishing our powerbi reports embedded into a website with a PowerBI Premium Plan. All our analytic visualizations are on PowerBI but we are in troubles to offer some user interactions through the interface.
Specifically, we want to confirm some events pressing a button which is located on the same powerbi in order to call a backend API through a Javascript.
Fortunately, we've figured out how to solve this problem and our button is updating our database. But we couldn't solve the problem associated with limitations about numbers of requests to the power bi service. It is said that there is a limit of one request every 15 seconds. So, we have to wait 15 seconds to press the button again. Nobody will want to wait more than a few seconds to interact again with the button.
We've used the last example as is described in the following URL:
Embedding Basic interactions
Someone has experience with this kind of interactions on PowerBI? I find it a little strange, I do not find any information about this limitation on the Microsoft website
Here an example of the exception:
You are using PowerBI Embedded. This is a service from Microsoft where you pay for a certain amount of processing power. When you go over this processing power, PowerBI will return an error.
A capacity calculator is available to see how much processing power you would need. You can find it on the Microsoft website.
I'm not sure what you're using this functionality for. You say you use the button to "confirm some events" which suggests that the PowerBI solution is part of an interactive application. Do remember that PowerBI is an analytics platform and as such not really suited for real-time interaction. If this is the case I would strongly advise finding a different solution since higher-tier PowerBI embedded licenses are very expensive (and still won't guarantee that no error will be generated)