Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
User | Count |
---|---|
57 | |
22 | |
21 | |
19 | |
16 |
User | Count |
---|---|
86 | |
84 | |
52 | |
37 | |
23 |