web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : tDqbTKqRlSmdVLUzgEsqk2
Power Automate - Using Connectors
Unanswered

Flow fails due to issue connecting to Power BI alert

Like (1) ShareShare
ReportReport
Posted on 13 Dec 2018 05:23:41 by 4

Hey guys, hoping you can help me. I've created a simple alert that emails a group of people when a Power BI alert is triggered. For some reason the flow is failing and the issue is in connecting to the Power BI alert.

 

The error code is:

Capture.PNG

 

The full error text in that bottom scroll window is:

{
 "error": {
 "code": "MalformedQueryResult",
 "pbi.error": {
 "code": "MalformedQueryResult",
 "parameters": {
 "AlertId": "19133",
 "TileId": "14216948"
 },
 "details": [],
 "exceptionCulprit": 1
 }
 }
}

I made this flow by following the link from Power BI in the alert window (it says "Use Microsoft Flow to trigger additional actions") so the connection seemed to work fine when I set up the flow.

 

Not sure what other information to provide. Any help would be greatly appreciated, this alert has become kind of important at work and the fact that it is failing is kind of embarassing =S.

 

Thanks!

 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 09 Aug 2019 at 08:19:48
    Re: Flow fails due to issue connecting to Power BI alert

    @Anonymous  Aha, sorry, i misunderstood !

     

    The adjustment is done in the powerbi report itself. So in my case:

    - Download the report

    - Open it with powerbi desktop

    - Do the adjustments to the measure which is displayed in the card

     

    Example old measure: 

    MyMeasure = 
    var MyCondition = sometest
    return
    if(MyCondition; TRUE(); FALSE())

    Adjusted measure:

    MyMeasure = 
    var MyCondition = sometest
    return
    if(MyCondition; 1; 0)

     

    - Publish the report again

    - Pin the card to a dashboard & set the alarm on the numeric value

  • Community Power Platform Member Profile Picture
    on 09 Aug 2019 at 08:13:27
    Re: Flow fails due to issue connecting to Power BI alert

    @Anonymous I meant where do you do such adjustment? I don't see such option at my Power BI Alert management. Can you share some screenshots to walk us through. Thank you.

  • Community Power Platform Member Profile Picture
    on 09 Aug 2019 at 06:55:54
    Re: Flow fails due to issue connecting to Power BI alert

    @Anonymous I adjusted the measure on which I configured the alarm to return 1 or 0 instead of true or false.

    In the power bi management I have the same options as you 🙂 

     

  • Community Power Platform Member Profile Picture
    on 08 Aug 2019 at 15:03:03
    Re: Flow fails due to issue connecting to Power BI alert

    @Anonymous thank you for sharing, can you elaborate a bit more about how you re-configure your Power BI Alert from True/False to 1/0???? Because at my Power BI Alert management I can only see the option as screenshot below. Thanks!

    Power BI Trigger Error 6.png

  • Community Power Platform Member Profile Picture
    on 08 Aug 2019 at 14:29:10
    Re: Flow fails due to issue connecting to Power BI alert

    I've fixed my problem, it was a configuration error of the power bi alert Smiley Embarassed

     

    I had created a measure on which I defined the alert, the measure compared some values and returned True() or False(). I assumed that this corresponded with 1 and 0 but this is not the case! 

    PowerBi doesn't complain when configuring the alert this way, but you will never get an alert Robot Sad 

     

    After I adapted the measure to return 1 & 0 instead of True() & False(), everything worked like a charm.

     

  • Community Power Platform Member Profile Picture
    on 08 Aug 2019 at 09:57:08
    Re: Flow fails due to issue connecting to Power BI alert

    Power BI Trigger Error 4.pngPower BI Trigger Error 5.png

  • Community Power Platform Member Profile Picture
    on 08 Aug 2019 at 09:24:57
    Re: Flow fails due to issue connecting to Power BI alert

    Same issue here, I tried recreating the Flow from scratch and nothing changed. Is there already a solution? I am running 6 reports from the same Power BI and everything else is the same, but only 2 of them have this issue with the trigger. 

     

    Power BI Trigger Error 1.pngPower BI Trigger Error 2.pngPower BI Trigger Error 3.png

  • Community Power Platform Member Profile Picture
    on 07 Aug 2019 at 07:38:08
    Re: Flow fails due to issue connecting to Power BI alert

    I am experiencing the same issue.

    The PowerBi Alert is selected from the dropdown list, so an incorrect AlertId seems unlikely.

    I tried recreating the alert and flow, but this makes no difference.

     

    Does somebody have a solution for this problem?

     

    The error message I'm getting with statuscode 400:

    {
     "error": {
     "code": "MalformedQueryResult",
     "pbi.error": {
     "code": "MalformedQueryResult",
     "parameters": {
     "AlertId": "39377",
     "TileId": "21778977"
     },
     "details": [],
     "exceptionCulprit": 1
     }
     }
    }
  • sallen1 Profile Picture
    4 on 07 Mar 2019 at 21:46:02
    Re: Flow fails due to issue connecting to Power BI alert

    I actually wasn't able to fix the flow so I just re-created it from scratch and it worked fine. I wish I could be more helpful but I'm not sure what the issue was.

  • JoelPhillips Profile Picture
    4 on 07 Mar 2019 at 14:05:34
    Re: Flow fails due to issue connecting to Power BI alert

    I'm having this problem as well. I've selected the Alert ID from the dropdown, and I am getting a BadRequest Error 400. Was any solution found for this problem?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Loading complete