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.
I'm looking for a Dax Measure, which shows me from stock of a product up-to-date, the past stocks.
Target is a kind of Bart chart, as shown here:
I have the following data available:
Actual Stock Level
Negative and positive values per day
The tables are structured as follows:
tblStock
ID Value DateA1_2 | 5000 | 01.12.2019 |
tblBookings
ID Value DateA1_2 | -5000 | 01.11.2019 |
A1_2 | 5000 | 01.11.2019 |
For the past week, the measure must therefore take the sum from the current stock - the negative entries - the positive entries for last week.
How is this to be implemented? Does somebody has any idea? Or a helpful article / blog? Do you need further information?
PS: I already asked at reddit for a sulution with no response at the moment: https://preview.redd.it/len7isujuz141.png?width=710&format=png&auto=webp&s=304e222c3e9f349a5799b548b...
Best Regards
Joshua
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 | |
25 | |
19 | |
16 | |
8 |
User | Count |
---|---|
73 | |
50 | |
45 | |
20 | |
17 |