Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello all,
I have a table like so:
Date | Item | QTY | CurrentDayStock | CurrentDayRestock | CurrentDayTotalStock | PrevDayStock | PrevDayRestock | NextDayStock | NextDayRestock |
4/3/2020 | Widget | ea | 630 | 0 | 630 | 630 | 0 | ||
4/6/2020 | Widget | ea | 630 | 152 | 782 | 0 | 0 |
The PrevDay and NextDay columns are calculated columns that pull the previous/next day inventory using a variant of the following DAX measure:
Solved! Go to Solution.
I think I figured it out:
HI @StephenK ,
I actually don't understand your DAX expression part where you have - [Date] = (__Date + 1) *1. &&
Check following article on how you can exclude weekends from your calculation and try to incorporate similar logic in your dax:
https://www.powerquery.training/networkdays/
https://stackoverflow.com/questions/40335558/exclude-weekends-in-powerbi-report
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
I think I figured it out:
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
24 | |
10 | |
10 | |
9 | |
6 |