This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
I have this table in my model :
DAY_ORDER SHIFT WEEKDAY QUANTITY
| 1 | NIGHT_SHIFT_WD | MON | 70 |
| 1 | MORNING_SHIFT_WD | MON | 43 |
| 1 | EVENING_SHIFT_WD | MON | 75 |
| 2 | NIGHT_SHIFT_WD | TUE | 34 |
| 2 | EVENING_SHIFT_WD | TUE | 75 |
| 2 | MORNING_SHIFT_WD | TUE | 96 |
| 3 | NIGHT_SHIFT_WD | WED | 43 |
| 3 | EVENING_SHIFT_WD | WED | 45 |
| 3 | MORNING_SHIFT_WD | WED | 64 |
| 4 | NIGHT_SHIFT_WD | THU | 0 |
| 4 | EVENING_SHIFT_WD | THU | 0 |
| 4 | MORNING_SHIFT_WD | THU | 0 |
| 5 | NIGHT_SHIFT_WD | FRI | 0 |
| 5 | EVENING_SHIFT_WD | FRI | 0 |
| 5 | MORNING_SHIFT_WD | FRI | 0 |
| 6 | NIGHT_SHIFT_WKND | SAT | 0 |
| 6 | DAY_SHIFT_WKND | SAT | 0 |
| 7 | NIGHT_SHIFT_WKND | SUN | 0 |
| 7 | DAY_SHIFT_WKND | SUN | 0 |
| 7 | NIGHT_SHIFT_WD | SUN | 0 |
I'm using the following measure to calculate a running total :
Solved! Go to Solution.
@Anonymous You can create an additional measuere as
@Anonymous You can create an additional measuere as
@smpa01 Hey! That's exactly what I was looking for! Thanks for helping!! Much appreciated!
hey @Anonymous ,
you can use WEEKDAY(TODAY() , ...) to find out the daynumber of the weekday, incorporate into your statement and return BLANK() if DAY_ORDER is greater than WEEKDAY(TODAY() , ...).
Hopefully, this provides some new ideas that will help to tackle your challenge.
Regards,
Tom
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |