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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Gondi63
Helper I
Helper I

PBI Data Alerts Inconsistent

Hi All,

 

I have a very simple problem, with a slightly complicated solution, and an inconsistent function 🙂

 

Simple Problem: We have locations across the US. If there is a safety issue at one of these locations like someone slips, a report is made through a Microsoft Form to report it. If the safety issue is severe enough (someone slipped into a vat of acid) that report is categorized as a Major Safety event. When this happens, I want PBI to send a data alert email to the managers of that location, regional managers overseeing that region and national leaders.

 

Slightly Complicated Solution: Since these events can need quick action, I have indicators set to capture these major safety events. I also have the data set to refresh hourly. The model looks at the time of the event and the time of the refresh and compares the two. If the event submission is within the previous hour, the event should trigger the data alert. There initially were issues with timezones (UTC service vs EST desktop, etc) but I believe those are fixed. The model uses RLS to ensure that the alerts are sent to the people that oversee the location of the report.

 

Inconsistent Function: When it works, it works great, but I've noticed some odd extended pauses in the data alerts. The safety reports are a many-a-day frequency but thankfully most of them are mundane. However, even though I haven't changed anything on the dashboard and I don't believe anyone else has, and the database refreshes seem to happen hourly without issue, there have been weeks where the alerting system just doesn't activate. Emails aren't sent, notifications don't ping. 

 

Request: Are there any ideas on further investigation that I can do? Is there a limit on using the alert function? I'm doing hourly updates and the RLS has to check about 200 users against any data alerts that come up. Are there logs I could look into? Are there any known issues with the Alert function? Any guidance is appreciated! 🙂

 

--edit: Adding more descriptive step by step of process --

Sure - the process is:

 

  1. Event Submitted to MS Forms (12:45pm)
  2. Dataset Refresh (1:30pm)
  3. MS Forms table refreshed in Dataset (1:30pm)
  4. Timestamp of refresh converted to number: 3/31/2023 1:30pm to 2023033113) (round to hour)
  5. Timestamp of submission same 3/31/2023 12:45 to 2023033112) (round to hour)
  6. Pseudocode: IF (RefreshTimestamp -1 = SubmissionTimestamp, "New","")
  7. Pseudocode:  NewCountMeasure = COUNT ([New])
  8. Report Indicator: NewCountMeasure (usually 0 until a new submission)
  9. Pin report indicator to dashboard
  10. Set dashboard alert to IF (NewCountMeasure > 0) then Alert
  11. [x] Send Email when alert

Everything is done though dashboard alerts, not using Powerapps.

4 REPLIES 4
blopez11
Super User
Super User

Can you provide a bit more detail, like how specifically you are triggering the alert, and the mechanism used to send the email?  Are you using dashboard alerts, PowerApps, etc.?

Sure - the process is:

 

  1. Event Submitted to MS Forms (12:45pm)
  2. Dataset Refresh (1:30pm)
  3. MS Forms table refreshed in Dataset (1:30pm)
  4. Timestamp of refresh converted to number: 3/31/2023 1:30pm to 2023033113) (round to hour)
  5. Timestamp of submission same 3/31/2023 12:45 to 2023033112) (round to hour)
  6. Pseudocode: IF (RefreshTimestamp -1 = SubmissionTimestamp, "New","")
  7. Pseudocode:  NewCountMeasure = COUNT ([New])
  8. Report Indicator: NewCountMeasure (usually 0 until a new submission)
  9. Pin report indicator to dashboard
  10. Set dashboard alert to IF (NewCountMeasure > 0) then Alert
  11. [x] Send Email when alert

Everything is done though dashboard alerts, not using Powerapps.

This is interesting as I was not aware you could use RLS to control who got the notifications/emails for dashboard alerts.  I thought only the person that setup the alert, got the alert.  I would be interested in how you get this resolved.

The RLS controls the data which flows into the indicator which is then pinned to the dashboard. So if the event is in New York City, only the NYC folks, Northeast regional team and national team can see the data. Users still have to create the alert themselves, but the RLS works.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.