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
If the value is greater than 4 , it's also greater than 1 so it's already been dealt with.
Also use a variable and a switch statement instead.
Try this:
Attendance Measure =
VAR Amount =
SUM ( 'Monthly Goals'[Attendance Goal] ) - SUM ( Attendance[Unexcused Hours Taken] )
VAR Result =
IF ( Amount = 0, 0, IF ( Amount >= 1 && Amount <= 4, 4, IF ( Amount > 4, 8 ) ) )
RETURN
Result
or
Attendance Measure =
VAR Amount =
SUM ( 'Monthly Goals'[Attendance Goal] ) - SUM ( Attendance[Unexcused Hours Taken] )
VAR Result =
SWITCH (
TRUE (),
Amount = 0, 0,
Amount >= 1 && Amount <= 4, 4,
8
)
RETURN
Result
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |