Automate Teams notification with visuals with Power BI Alert is triggered - powerbi

Thank you for the time of checking this out.
My goal is to have Power Automate send my customer a teams notification when a goal in a metric changes, but not only with the values, but also with a / the visual linked to the goal.
I have already managed to make an automation in Power Automate that does the following:
When Goal changes --> Get a Goal --> Post message to Chat or Channel.
This produces a text notification with the content I want in it, but to make it look a bit nicer, and more in context, I would like to add a viual.
Does anyone know how to accomplish this? Thanks!

Related

Power Automate - Wait till Power BI dataset refresh completes\fails

I have created a Flow in Power automate, have used a Refresh a Power BI dataset component , there is no issue in terms of functionality as such and I am able to refresh the dataset successfully - so far so good (till the time the dataset gets refreshed successfully)
I have added a send email component post the dataset refresh, Now, the thing is the 'Refresh a dataset' component doesn't wait till the time the dataset is completely refreshed, it just triggers the refresh with an output value as Succeeded and proceed towards sending an email while the dataset refresh is still in progress
Now, when the dataset refresh fails due to some reason - the Power Automate flow has already completed and has lost the track of the refresh
How can I make it wait till the time the dataset refresh has completed successfully or has failed and then send an email accordingly?
I have tried below but the outcome is always Success
Solved: Get alert when refresh a dataset fail - Power Platform Community (microsoft.com)
The Refresh action sends an API call to the Power BI REST API. The Refresh Dataset endpoint does not respond with an outcome indication. It just responds with whether or not the refresh request was accepted.
There are two other endpoint options Get Refresh History and Get Refresh Execution Details which you would need to monitor for completion of your refresh. I'm not saying it's impossible to implement something with Power Automate to do this, but honestly, you will have a better outcome just writing it yourself.
Power BI's lack of admin and monitoring tooling is by far its biggest shortcoming--especially surrounding refresh management. The sooner you realize you will not get out of it what you want and just accept that you're going to have to roll your own, the sooner you'll get what you need.

PowerBI - How to create an approval process in PowerBI Dashboard?

I am working on the reporting project that uses PowerBI as the data visualization tool.
I need create a processing approval workflow on the PowerBI tool. After seeing the Dashboard, the employer can approve some exception cases and the workflow can direct connect with email or ticket system.
There are 2 cases:
Approve for the whole dashboard that supports to be easy. I don't have any problem here.
Approve for singular object/row in a table chart. So I must generate number of buttons according to the number of row, which I need help. I don't know how to generate dynamic number of buttons and attached to row. And how to program/code it to create a view or action to become an approval step.
Button PowerBI
In this screenshot, my plan is create buttons in each row and each button has the same function with parameter is username or IP. And after that I can send email to the user and notice him/her that his/her case is approve for exception.
I find this https://community.powerbi.com/t5/Community-Blog/A-simple-and-fun-guide-to-Microsoft-Flow-and-Power-BI/ba-p/151530. But it doesn't seem helpful. Anyone here has ever dealt with approval case like this.
Is PowerBI able to do the approval process like I want?
Thank you so much.
First: This kind of goes against the spirit of BI in general. BI is for data visualization, exploration, etc. It's not really a UI for inserting data and executing tasks. Maybe you want instead to have a front end that lets you do things, and only needs to handle a very limited dataset? PowerApps is good for that. If the dataset is less than 1000 rows, this could work.
Second: I'm pretty sure it's not possible to create a button (like one that you'd see in an HTML page) that does what you want it to do in a Power BI table visual.
Third: There is a "drill through" button capability, but this just lets you navigate from one area in the report to another, not send an email or execute a Power Automate flow or anything like that. You may have seen a button on a table visual, but it's misleading. It's not really programmable like an HTML/JS button on a website.
https://www.c-sharpcorner.com/article/create-a-drill-through-button-in-power-bi/
That said, within the last 1.5 years or so, we now have the PowerApps add-in available. You could create an app that utilizes your streaming dataset, create a gallery that looks at that dataset and creates a kind of table with buttons on it, and then each button is set to execute the flow you've created in Power Automate.
PowerApp Add in chiclet
All of this is very, extremely straightforward, but beware, the PowerApp will start to cost you extra money depending on where your data is housed. If it's a SQL server, you'll need both a premium PowerApp license and Power Automate license too.
Sorry for the not so great news, but this is kind of a limitation of Power BI.

How to take conditional actions on bas64 encoded trigger output in Power Automate Flow?

My trigger is an Event Hub stream from Azure IoT Central telemetry data.
I need to conditionally run an action based on the keys in the Content from the Event Hub trigger.
The Content output from Event Hub trigger is base64 encoded.
If I use Content in an Action like Post Message to Teams, it is decoded and looks fine.
The content is NOT decoded when I try to use it in a Conditional Action, or if I instantiate a variable first. There is no base64ToString() in the expressions for Power Automate. Power Automate doc's say they will automatically decode for you (and no they don't).
Anyone have a working base64 decode method with Power Automate or another workaround?
This just does not work in Power Automate.
It works fine in Logic Apps.
I just rebuilt everything in Logic Apps and it works great.

Amazon Mechanical Turk Manage Answer

Currently, I am managing the submitted answer from the workers. I already download it and check the answer one by one. Now, I know which HIT Id that I will reject and approve but I got 1700+ answers which will be a very tedious job. Anyone know how to automate base from the HIT Id ? maybe using some API?
You can do it by pressing the upload button. After you press the button, you can upload a CSV files in that must be contain your HITID, Assignment ID, Reject, and Approve with their colums accordingly. You can set a HIT to be approved by giving x to the approved column. If you want to reject it, fill the Reject columns with your comment that you want to give to the worker. That is all, you can fill it by using python script that can help you automate it. Thank you

PowerBI – How to set up a streaming data report?

I have a range of devices that push data to an Azure IoT hub. I then have a stream analytics job which ingests the data from IoThub and outputs it to PowerBI. In PowerBI then I have created a report from the dataset which is working. I now want that report to be ‘live’ using the streaming data from Stream Analytics, but can’t see how to make it so?
Looking at this guide, under the section ‘Create and publish a Power BI report to visualize the data’ point 4 says ‘Click Streaming Datasets’ which sounds like exactly what I need, but I don’t see that option anywhere?
Have I missed a step or set something up wrong, or is there another way to make my report ‘live’ without needing manual refresh and publishing?
Here's what I see when creating a report:
Thanks
Go to the report where you want to add the streaming data tile to.
Click on '+ Add tile' over on the top navigation
You should see an option for Real time - Custom streaming data on the resulting blade.