Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |