Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
45 | |
28 | |
21 | |
11 | |
8 |
User | Count |
---|---|
77 | |
50 | |
46 | |
16 | |
12 |