Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
133 | |
76 | |
53 | |
38 | |
37 |
User | Count |
---|---|
202 | |
80 | |
71 | |
55 | |
48 |