Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Send alert email to project approver

Hi,

 

I have a Power BI table (project_id, created_by, approved_by, project_date) which looks like the following. I want to send an alert email to the approver when two conditions are met:

- project_date is today's date

- project approver is also the project creator.

 

Can I use Power Automate to do it? 

 

project_idcreated_byapproved_byproject_date** NOTES **
1001AW2/2/2022 
1002BZ2/11/2022 
1003CW1/7/2022 
1004EE3/13/2022<- project date is not today's date. Not sending any email
1005AF12/24/2021 
1006AF4/1/2022 
1007CW4/11/2022 
1008FF4/7/2022<- project date is not today's date. Not sending any email
1009BB4/16/2022<- Project date is today's date. Send alert email to B
1010WW4/16/2022<- Project date is today's date. Send alert email to W
1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Alerts can only be set on tiles pinned from report visuals, and only on gauges, KPIs, and cards. Alerts cannot be set on a table visual.

 

And alerts only work on data that is refreshed. When data refreshes, Power BI looks to see if an alert is set for that data. If the data has reached an alert threshold, an alert is triggered.

 

Reference: 

Data alerts in the Power BI service

Tutorial:Set data alerts on the Power BI service dashboards

 

So what's your scenario? When data is refreshed, a new project will be added into the table visual. And then you want to send an email if the two conditions are met?

 

If so, you need to create a single card visual and put into a measure like so:

Condition Measure =
VAR MaxProjectId_ =
    CALCULATE ( MAX ( 'Table'[project_id] ), ALLSELECTED () )
VAR MaxProjectId_date =
    CALCULATE ( MAX ( 'Table'[project_date] ), 'Table'[project_id] = MaxProjectId_ )
VAR MaxProjectId_creator =
    CALCULATE ( MAX ( 'Table'[created_by] ), 'Table'[project_id] = MaxProjectId_ )
VAR MaxProjectId_approver =
    CALCULATE ( MAX ( 'Table'[approved_by] ), 'Table'[project_id] = MaxProjectId_ )
RETURN
    IF (
        MaxProjectId_date = TODAY ()
            && MaxProjectId_creator = MaxProjectId_approver,
        1,
        0
    )

 Then pin this card to dashboard and set an alert based on it. And for using Power Automate to send an email, you can refer to this official document:

Integrate Power BI data alerts with Power Automate - Power BI | Microsoft Docs

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Alerts can only be set on tiles pinned from report visuals, and only on gauges, KPIs, and cards. Alerts cannot be set on a table visual.

 

And alerts only work on data that is refreshed. When data refreshes, Power BI looks to see if an alert is set for that data. If the data has reached an alert threshold, an alert is triggered.

 

Reference: 

Data alerts in the Power BI service

Tutorial:Set data alerts on the Power BI service dashboards

 

So what's your scenario? When data is refreshed, a new project will be added into the table visual. And then you want to send an email if the two conditions are met?

 

If so, you need to create a single card visual and put into a measure like so:

Condition Measure =
VAR MaxProjectId_ =
    CALCULATE ( MAX ( 'Table'[project_id] ), ALLSELECTED () )
VAR MaxProjectId_date =
    CALCULATE ( MAX ( 'Table'[project_date] ), 'Table'[project_id] = MaxProjectId_ )
VAR MaxProjectId_creator =
    CALCULATE ( MAX ( 'Table'[created_by] ), 'Table'[project_id] = MaxProjectId_ )
VAR MaxProjectId_approver =
    CALCULATE ( MAX ( 'Table'[approved_by] ), 'Table'[project_id] = MaxProjectId_ )
RETURN
    IF (
        MaxProjectId_date = TODAY ()
            && MaxProjectId_creator = MaxProjectId_approver,
        1,
        0
    )

 Then pin this card to dashboard and set an alert based on it. And for using Power Automate to send an email, you can refer to this official document:

Integrate Power BI data alerts with Power Automate - Power BI | Microsoft Docs

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.