Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Using power automate to send emails when data values reach threshold

I've been trying to create a flow that happens using power bi data, and continues even after the power bi button has been clicked. I essentially have a table of live data, and I want to be notified if certain values are repeated over a set number of times. This obviously would implement count. My main issue is that I want this to be done live, using direct query, so that as soon as a certain value has a count greater than the threshold I am sent an email. My problem is that the build in power automate visual only activates when the button is clicked, I want this flow to be more scheduled, refreshing every minute or second if possible. 

 

I've tried a lot of work arounds including the do until action, and trying to schedule a flow. The problem with a scheduled flow is it needs a data value to reach a goal, I want to see even after one value reaches a threshold if any others reach that threshold.

8 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Two questions. First will this work without having powerbi pro? Also I was just trying to test this but am unsure of what to put in the "Query Text" box. 

      • lbendlin's avatar
        lbendlin
        Super User

        Not sure what you mean by "Power BI Pro" - please clarify.

         

        You put your DAX query in there, as described in the article.  You can use Performance Analyzer to "borrow"  the DAX query that is used for a particular Power BI visual, or you can construct your own.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hello I am trying to achive somthing similar. in my run a query agains dataset i output a table with two columns. my question is how to reference the column 2 in the next step .

     

    when the value is