Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
6 |