Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I have such case.
In calendar table i have Workday column which is calculated by below DAX:
Solved! Go to Solution.
Hi @ToKo
Sure. Nested IF statements are evaluated in order, so we can check for 2021-11-06 first, then check for Saturday/Sunday:
Workday =
IF('Calendar'[Date] = DATE(2021,11,6),
1,
IF(('Calendar'[DayOfWeek]= "Sunday" || 'Calendar'[DayOfWeek]= "Saturday"),0,1)
)
Hi @ToKo
Sure. Nested IF statements are evaluated in order, so we can check for 2021-11-06 first, then check for Saturday/Sunday:
Workday =
IF('Calendar'[Date] = DATE(2021,11,6),
1,
IF(('Calendar'[DayOfWeek]= "Sunday" || 'Calendar'[DayOfWeek]= "Saturday"),0,1)
)
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |