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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Gazi
Frequent Visitor

Data Alerts for each row

Hi everyone!

 

 

I need to create an alert for each row in my dataset, whenever any of them goes below 5.

Currently i have 85 rows, i could create 85 visuals for each, but how to handle when there is a new row in the dataset?

 

I know it's a bit weird approach, maybe someone has a better idea?

 

 

Many thanks!

 

 

Gazi

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Create a measure like this and set a notification for > 0

 

BelowFive = 
VAR myCount = COUNTROWS(FILTER(Table,[Column]<5)
RETURN IF(ISBLANK(myCount),0,myCount)


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

How could we apply this at a monthly level for eg. sales at monthly level with alerts for a salersperson if the number dips below a certain threshold ?

 

Name    Jan    Feb   Mar

A           100    125     85

A           110    105     95

A           100      95     100

 

 

skylar
Frequent Visitor

@Greg_Deckler 

Hi I am just wondering is that possible to set an alert and get the relevant project name?

Thanks a lot! 

Greg_Deckler
Super User
Super User

Create a measure like this and set a notification for > 0

 

BelowFive = 
VAR myCount = COUNTROWS(FILTER(Table,[Column]<5)
RETURN IF(ISBLANK(myCount),0,myCount)


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Not the solution I would have thought of at all, but I have to say this would do the trick nicely.  Thanks!

Thank you @Greg_Deckler!

 

It actually worked! 🙂

But is there any way to see relevant row's data? i mean which row triggered it (it contains project names)

I believe that you can only set alerts on numeric data so it wouldn't work to concatenate all the project names rows together which was my first thought. Glad it worked though!! If I come up with something I'll let you know.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi Greg,

do you have already a workaround regarding the data alert with data name (like the project name in this example)?

Thank you in advance.

Hi Greg @Greg_Deckler , I need some help regarding these data alerts. I've also started a new topic for my issue here.

I've made a measure following your help.

Notification =
VAR myCount = COUNTROWS(FILTER(SickEmployees;([Days sick]>=2)))
RETURN IF(ISBLANK(myCount);"None";myCount)

 

What I think it should do: it counts all rows where 'days sick' >= 2. I get 'none' beceause it's blank. If I change the measure to >=1 it gives me 74. The sum of days sick.

 

DaysSick.jpg

 

What I expect / want: I want to get a notification when someone is sick for >= 17 days. So the measure should be changed to

VAR myCount = COUNTROWS(FILTER(SickEmployees;([Days sick]>=2)))
RETURN IF(ISBLANK(myCount);"None";myCount). But like I said, this gives me 'none'.

 

You can find the sample file here in my Dropbox.

@Greg_Deckler Yeah I am also trying to think about any possible way to show the relevant project names, which triger an alert, that would be an amazing workaround the current limitation of the Data Alert in PowerBI.

 

Thanks a lot!  🙂

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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