Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi:
Please if someone can help, as below table I have to count materials daily stock Qty.
How to write a formula in BI to get each material daily usage?
Ex, Item A usage on 3/18 = 3000-2500=500
Solved! Go to Solution.
Hi @FrankWeng
try a measure
Measure =
calculate(MAX('Table'[daily stock Qty]),ALLEXCEPT('Table','Table'[Item],'Table'[Date]))
-
calculate(MIN('Table'[daily stock Qty]),ALLEXCEPT('Table','Table'[Item],'Table'[Date]))
in your screnshots I see the only row per day for each Item
Date field is the Date or Datetime?
share pbix-file to cloud is always the best idea
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |