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.
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:
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 |
---|---|
65 | |
50 | |
45 | |
20 | |
17 |