March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I'm trying to manage alerts so that I can watch the inventory of the products of my company.
The purpose of this is to be notify if the stock of a product is under the minimum stock.
For example, if I have 200 coca-cola and the minimum stock is 300, I will receive an alert.
Now the problem here is that I have two columns which contains the actual stock and the minimum stock and I don't know how to make alert based on the difference of the two columns. Each product have his own minimum stock.
For example, you can see the table below :
Product Code | Actual Stock | Minimum Stock |
30000222 | 1000 | 1200 |
3002373 | 2000 | 1000 |
Solved! Go to Solution.
Hi @eric98 ,
According to your description, here is my solution.
Create a column.
Column =
IF ( 'Table'[Actual Stock] < 'Table'[Minimum Stock], 1, BLANK () )
Put the column into a card.
Set to trigger an alarm when the sum of column is greater than 0. And then you will get the notification.
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @eric98 ,
According to your description, here is my solution.
Create a column.
Column =
IF ( 'Table'[Actual Stock] < 'Table'[Minimum Stock], 1, BLANK () )
Put the column into a card.
Set to trigger an alarm when the sum of column is greater than 0. And then you will get the notification.
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you create a calculation in your model that subtracts the two fields?
Hello,
Yeah I can do that !
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
40 | |
26 | |
17 | |
11 | |
10 |
User | Count |
---|---|
57 | |
52 | |
23 | |
13 | |
11 |