Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I am trying to do a running sum af resource availability. But if a resource is over-used the previous week, I would like to subtract it from the current week. If it is under-used I do not want it to carry forward. For instance:
Capacity | 14 | 14 | 14 | 14 | 14 |
Orders | 12 | 16 | 13 | 12 | 10 |
Available | 2 | -2 | -1 | 1 | 4 |
@Anonymous , do you same week or Date to do that.
You can refer these WOW blog/video, if they can help
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123
https://www.youtube.com/watch?v=pnAesWxYgJ8
@Anonymous What does your raw data look like please?
You can do IF([Available]<0, [Available]+[Current], [Current])
type of logic, but we need to know what your raw data looks like to be able to detail exactly how.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
My data includes:
Column: Truck Capacity
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 |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |